Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2010 19:40:38 +0530 (IST)
From:      akash kumar <akashb503@yahoo.co.in>
To:        freebsd-questions@freebsd.org
Subject:   preemption enable/disable routines
Message-ID:  <568792.52464.qm@web95108.mail.in2.yahoo.com>

index | next in thread | raw e-mail

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. 





help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?568792.52464.qm>