Commit ac6e8355 authored by Mikael Ronstrom's avatar Mikael Ronstrom

Fixed bug

parent eb07b0fa
...@@ -24,7 +24,7 @@ typedef time_t ib_time_t; ...@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment