diff options
-rw-r--r-- | libshouldbeinlibc/maptime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libshouldbeinlibc/maptime.h b/libshouldbeinlibc/maptime.h index 947ad640..04ce0353 100644 --- a/libshouldbeinlibc/maptime.h +++ b/libshouldbeinlibc/maptime.h @@ -51,7 +51,9 @@ maptime_read (volatile struct mapped_time_value *mtime, struct timeval *tv) do { tv->tv_sec = mtime->seconds; + __sync_synchronize (); tv->tv_usec = mtime->microseconds; + __sync_synchronize (); } while (tv->tv_sec != mtime->check_seconds); } |