Changes in uspace/lib/libc/include/atomicdflt.h [a47d49f:e15e0e8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/atomicdflt.h
ra47d49f re15e0e8 56 56 } 57 57 58 #ifndef CAS59 58 static inline bool cas(atomic_t *val, long ov, long nv) 60 59 { 61 60 return __sync_bool_compare_and_swap(&val->count, ov, nv); 62 61 } 63 #endif64 62 65 63 #endif
Note:
See TracChangeset
for help on using the changeset viewer.