Fixed bug
This commit is contained in:
parent
da8108cfc8
commit
2f2758604b
@ -24,7 +24,7 @@ typedef time_t ib_time_t;
|
|||||||
#define PAUSE_INSTRUCTION() \
|
#define PAUSE_INSTRUCTION() \
|
||||||
{ \
|
{ \
|
||||||
volatile lint volatile_var; \
|
volatile lint volatile_var; \
|
||||||
os_compare_and_swap(volatile_var, 0, 1); \
|
os_compare_and_swap(&volatile_var, 0, 1); \
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#define PAUSE_INSTRUCTION()
|
#define PAUSE_INSTRUCTION()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user