Changeset b6b02c0 in mainline for uspace/lib/c/include/atomicdflt.h
- Timestamp:
- 2013-09-01T19:15:59Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b77207e, ef9a2a8
- Parents:
- b886b60
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/atomicdflt.h
rb886b60 rb6b02c0 60 60 static inline bool cas(atomic_t *val, atomic_count_t ov, atomic_count_t nv) 61 61 { 62 return __sync_bool_compare_and_swap(&val->count, ov, nv); 62 // XXX return __sync_bool_compare_and_swap(&val->count, ov, nv); 63 return false; 63 64 } 64 65 #endif
Note:
See TracChangeset
for help on using the changeset viewer.