[PATCH] Define _POSIX_SPIN_LOCKS on Cygwin
Wed May 4 10:53:00 GMT 2011
On May 2 10:39, Yaakov (Cygwin/X) wrote:
> Now that you have implemented pthread_spin_*(), can't _POSIX_SPIN_LOCKS
> be defined now? Patch for newlib attached.
> 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
Oh, right! Thanks for catching. Please apply.
Cygwin Project Co-Leader
More information about the Newlib