Changeset a47d49f in mainline
- Timestamp:
- 2009-12-07T21:56:39Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cd769305
- Parents:
- 82a04c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/atomicdflt.h
r82a04c6 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.