minor fixes;

ctrie
Alexander Vdolainen 9 years ago
parent 9c2cc9bb2f
commit af2c8aca25

@ -1 +1,2 @@
nobase_include_HEADERS = tdata/bitwise.h tdata/idx_allocator.h tdata/macro.h tdata/tree.h tdata/usrtc.h tdata/list.h
nobase_include_HEADERS = tdata/bitwise.h tdata/idx_allocator.h tdata/macro.h \
tdata/tree.h tdata/usrtc.h tdata/list.h tdata/ctrie.h

@ -36,7 +36,7 @@ _Bool __sync_bool_compare_and_swap_8 (uint64_t* ptr, uint64_t old, uint64_t new)
int i;
_Bool ret;
i = pthread_mutex_lock(&sync_lock);
i = pthread_mutex_lock(&__sync_lock);
if(*ptr != old) ret = 0;
else {
@ -44,7 +44,7 @@ _Bool __sync_bool_compare_and_swap_8 (uint64_t* ptr, uint64_t old, uint64_t new)
ret = 1;
}
i = pthread_mutex_unlock(&sync_lock);
i = pthread_mutex_unlock(&__sync_lock);
return ret;
}

Loading…
Cancel
Save