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