This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Spin barrier
On Thu, Aug 26, 2010 at 6:30 PM, Ed <icelus2k5@gmail.com> wrote:
> Not sure if this is the right place for this. I wrote a spin barrier
> for x86_64 based on the NPTL code in
> nptl/sysdeps/x86_64/pthread_spin_lock.c. Since I started from this
> file I'm guessing my code is irrevocably LGPL, which means I can put
> it here for anyone else needs this. Maybe something like it is worth
> having as another primitive in NPTL.
Thanks for the interesting post!
Truthfully I would be more interested on seeing the problems you
encountered using pthread_barrier_t and what led you to choose a
custom spin barrier implementation?
Cheers,
Carlos.