Date: Tue, 28 Sep 2010 13:06:26 -0400 From: Alejandro Imass <ait@p2ee.org> To: akash kumar <akashb503@yahoo.co.in> Cc: freebsd-questions@freebsd.org Subject: Re: preemption enable/disable routines Message-ID: <AANLkTi=3WZi7%2BOoZvXVMQRwA2L_4W70N-nYjm5PhaG_o@mail.gmail.com> In-Reply-To: <568792.52464.qm@web95108.mail.in2.yahoo.com> References: <568792.52464.qm@web95108.mail.in2.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 28, 2010 at 10:10 AM, akash kumar <akashb503@yahoo.co.in> wrote: > 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? Very similar and for the mostly the same purpose. Install the man/doc and then; man mutex Best, Alejandro Imass > > Thanks, > Akash. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=3WZi7%2BOoZvXVMQRwA2L_4W70N-nYjm5PhaG_o>