diff options
author | Jason Evans <jasone@FreeBSD.org> | 2006-04-04 19:46:28 +0000 |
---|---|---|
committer | Jason Evans <jasone@FreeBSD.org> | 2006-04-04 19:46:28 +0000 |
commit | cf01f0d7c5c6d6525696182ff82cc22efbacddd2 (patch) | |
tree | b779dc347fe3836cf7bd5c682447b4e36d325e03 /sys/net/if_media.h | |
parent | 522bc71e0a94a55fc9ad0bf3190cd1382b65b531 (diff) | |
download | src-cf01f0d7c5c6d6525696182ff82cc22efbacddd2.tar.gz src-cf01f0d7c5c6d6525696182ff82cc22efbacddd2.zip |
Add init_lock, and use it to protect against allocator initialization
races. This isn't currently necessary for libpthread or libthr, but
without it external threads libraries like the linuxthreads port are
not safe to use.
Reported by: ganbold@micom.mng.net
Notes
Notes:
svn path=/head/; revision=157498
Diffstat (limited to 'sys/net/if_media.h')
0 files changed, 0 insertions, 0 deletions