Searched hist:137804 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/sys/sys/
H A Dfiledesc.hdiff 137804 Wed Nov 17 07:39:58 MST 2004 phk 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

Completed in 54 milliseconds