preemption enable/disable routines

akash kumar akashb503 at yahoo.co.in
Tue Sep 28 14:23:34 UTC 2010


Hi,

Can some one tell me the routines in freebsd to enable and disable preemption.
In linux we have preempt_enable and preempt_disable which does the 
functionality.

In case freebsd, doesnot have such routines can i used mtx_lock_spin() to do the 
same?

Thanks,
Akash. 




More information about the freebsd-questions mailing list