This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
2003-03-19 Thomas Pfaff <tpfaff at gmx dot net> * thread.cc (pthread_cond::Wait): Remove typecasts for unsigned long values when calling Interlocked functions. Use new UL functions instead. (pthread_mutex::_Lock): Ditto. (pthread_mutex::_TryLock): Ditto. * winbase.h (InterlockedIncrementUL): New inline function for type safety with unsigned parameters. (InterlockedDecrementUL): Ditto. (InterlockedExchangeUL): Ditto. (InterlockedCompareExchangeUL): Ditto.
Attachment:
Interlocked.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |