On 3/10/07, Kip Macy <[EMAIL PROTECTED]> wrote:
umtx


  Is it safe/recommended to use spinlocks, like in jemalloc, for very
small portions of code? I'm particularly interested in protecting
writes to a couple of word sized ints on amd64, so the critical
section wouldn't be longer than two assignments. Of course, I could
use a lockless queue for my purposes, but I'm asking anyway.

On 3/9/07, Peter Holmes <[EMAIL PROTECTED]> wrote:
> Does FreeBSD have anything similar to Futexes for
> Linux.
>
> Thanks,
> Peter
>
>
>
> 
____________________________________________________________________________________
> Looking for earth-friendly autos?
> Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
> http://autos.yahoo.com/green_center/
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



--
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to