2009-08-11 01:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbatomic.h
! Suppressed recent bcc warnings.
Thanks to Grigory Filatov for the fix.
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-08-11 01:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* include/hbatomic.h
|
||||
! Suppressed recent bcc warnings.
|
||||
Thanks to Grigory Filatov for the fix.
|
||||
|
||||
2009-08-11 01:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* config/bsd/gcc.cf
|
||||
* config/wce/msvcarm.cf
|
||||
|
||||
@@ -370,9 +370,9 @@ HB_EXTERN_BEGIN
|
||||
# define HB_SPINLOCK_ACQUIRE(l) do { \
|
||||
for( ;; ) \
|
||||
{ \
|
||||
if( !InterlockedExchange( (l), 1 ) ) \
|
||||
if( !InterlockedExchange( (LONG*)(l), 1 ) ) \
|
||||
break; \
|
||||
if( !InterlockedExchange( (l), 1 ) ) \
|
||||
if( !InterlockedExchange( (LONG*)(l), 1 ) ) \
|
||||
break; \
|
||||
Sleep( 0 ); \
|
||||
} \
|
||||
|
||||
Reference in New Issue
Block a user