[PATCH] Define _POSIX_SPIN_LOCKS on Cygwin

Corinna Vinschen vinschen@redhat.com
Wed May 4 10:53:00 GMT 2011


On May  2 10:39, Yaakov (Cygwin/X) wrote:
> Corinna,
> 
> Now that you have implemented pthread_spin_*(), can't _POSIX_SPIN_LOCKS
> be defined now?  Patch for newlib attached.
> 
> 
> Yaakov
> Cygwin/X
> 

> 2011-05-02  Yaakov Selkowitz  <yselkowitz@...>
> 
> 	* libc/include/sys/features.h [__CYGWIN__] (_POSIX_SPIN_LOCKS): Define.
> 	* libc/include/sys/types.h: Cygwin provides its own pthread_spinlock_t
> 	typedef.

Oh, right!  Thanks for catching.  Please apply.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat



More information about the Newlib mailing list