[PATCH] Add unsigned long Interlocked functions

2003-03-19 Thread Thomas Pfaff
2003-03-19 Thomas Pfaff [EMAIL PROTECTED] * 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.

Re: [PATCH] Add unsigned long Interlocked functions

2003-03-19 Thread Robert Collins
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 [EMAIL PROTECTED] * thread.cc (pthread_cond::Wait): Remove typecasts for unsigned long values when calling Interlocked functions. Use new UL

Re: [PATCH] Add unsigned long Interlocked functions

2003-03-19 Thread Christopher Faylor
On Thu, Mar 20, 2003 at 10:20:14AM +1100, Robert Collins wrote: Looks good to me. Chris, you happy with the winbase stuff? I am not sure I understand the need for the UL uses since they are just wrappers around InterlockedIncrement. Why lie about this by removing the typecasts? Also, although