Changeset 7a98cef in mainline for uspace/lib/c/include/atomicdflt.h
- Timestamp:
- 2013-12-27T17:47:41Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0e183dd
- Parents:
- 550523f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/atomicdflt.h
r550523f5 r7a98cef 60 60 static inline bool cas(atomic_t *val, atomic_count_t ov, atomic_count_t nv) 61 61 { 62 // XXX return __sync_bool_compare_and_swap(&val->count, ov, nv); 63 return false; 62 return __sync_bool_compare_and_swap(&val->count, ov, nv); 64 63 } 65 64 #endif
Note:
See TracChangeset
for help on using the changeset viewer.