Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2007 01:38:32 +0200
From:      "Vlad GALU" <dudu@dudu.ro>
To:        hackers@freebsd.org
Subject:   Re: user-space locks
Message-ID:  <ad79ad6b0703091538t274ecc0cyd984b69cb5a0fd7d@mail.gmail.com>
In-Reply-To: <b1fa29170703091455q7f60bdb2r92ddfa447e5657b7@mail.gmail.com>
References:  <45F1A97D.7090608@cs.rice.edu> <989648.79906.qm@web32913.mail.mud.yahoo.com> <b1fa29170703091455q7f60bdb2r92ddfa447e5657b7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/10/07, Kip Macy <kip.macy@gmail.com> 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 <peter_holmes2003@yahoo.com> 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/
> > _______________________________________________
> > freebsd-hackers@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
> >
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>


-- 
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.



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