Note that functions alq_flush() and alq_post() should not be called in

contexts where sleeping is disallowed.

Pointed out by:	ru
This commit is contained in:
Joseph Koshy 2005-02-05 02:39:07 +00:00
parent 8364446643
commit a4230398d3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141338

View File

@ -187,7 +187,10 @@ can be avoided for performance critical code paths.
.Sh LOCKING
Each asynchronous queue is protected by a spin mutex.
.Pp
Function
Functions
.Fn alq_flush ,
.Fn alq_open
and
.Fn alq_post
may attempt to acquire an internal sleep mutex, and should
consequently not be used in contexts where sleeping is