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]

Re: [PATCH] Add unsigned long Interlocked functions


Looks good to me. Chris, you happy with the winbase stuff?

Rob

On Thu, 2003-03-20 at 00:49, Thomas Pfaff wrote:
> 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.
-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]