On Tue, Sep 28, 2010 at 10:10 AM, akash kumar <akashb...@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-unsubscr...@freebsd.org"
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to