diff options
author | phk <phk@FreeBSD.org> | 2004-11-17 07:39:58 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-11-17 07:39:58 +0000 |
commit | 3dab450860a416318f4975a44933d133725c58bb (patch) | |
tree | fc2f3ae8dd58585583da1e142f53250efe72fb5e /sys/kern/sys_generic.c | |
parent | a94fe69bb706e2f650c3f695ff3920d6f3a0ed9f (diff) | |
download | FreeBSD-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_generic.c')
0 files changed, 0 insertions, 0 deletions