summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_socket.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-11-17 07:39:58 +0000
committerphk <phk@FreeBSD.org>2004-11-17 07:39:58 +0000
commit3dab450860a416318f4975a44933d133725c58bb (patch)
treefc2f3ae8dd58585583da1e142f53250efe72fb5e /sys/kern/sys_socket.c
parenta94fe69bb706e2f650c3f695ff3920d6f3a0ed9f (diff)
downloadFreeBSD-src-3dab450860a416318f4975a44933d133725c58bb.zip
FreeBSD-src-3dab450860a416318f4975a44933d133725c58bb.tar.gz
Split the FILEDESC_LOCK in two variants.
FILEDESC_LOCK_FAST will just grab the interlocking mutex and hold it. This should be used for simple modifications of a field. FILEDESC_LOCK holds a (homegrown) sleepable lock which should be used where sleeping is required. The homegrown lock will probably be replaced with a generic type of lock once we have found out how that should look. Help and reviews by: rwatson
Diffstat (limited to 'sys/kern/sys_socket.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud