Browse Source

atomic vars should be volatile

pull/81/head
Richard Fuchs 11 years ago
parent
commit
5fa9902de9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/aux.h

+ 1
- 1
daemon/aux.h View File

@ -515,7 +515,7 @@ int in6_addr_eq(const void *a, const void *b);
#if GLIB_SIZEOF_VOID_P >= 8
typedef struct {
void *p;
volatile void *p;
} atomic64;
INLINE u_int64_t atomic64_get(const atomic64 *u) {


Loading…
Cancel
Save