« Return to Thread: Spinlocks

Re: Spinlocks

by Michael Gogins-2 :: Rate this Message:

Reply to Author | View in Thread

Insofar as I recall, which may not be all that far, the pthread
spinlocks were not available on all platforms.

if they are, they would be better, I think.

Regards,
Mike

On 4/29/09, Felipe Sateler <fsateler@...> wrote:
> I have received a report that csound does not build on SPARC machines due to
> some issues with __sync_* intrinsics. While I am still trying to debug the
> issue, the question of why these intrinsics were used in the first place was
> raised. In fact, we already use pthread, and pthread provides spinlocks too.
> Is there any reason for not using the pthread ones?
>
> Saludos,
> Felipe Sateler
>


--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Csound-devel mailing list
Csound-devel@...
https://lists.sourceforge.net/lists/listinfo/csound-devel

 « Return to Thread: Spinlocks