Changeset 1de92fb0 in mainline for uspace/lib/c/generic/thread/atomic.c
- Timestamp:
- 2018-08-01T18:15:53Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f787c8e
- Parents:
- 6340b4d2
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-31 22:01:34)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-01 18:15:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/thread/atomic.c
r6340b4d2 r1de92fb0 36 36 */ 37 37 38 void __sync_synchronize(void) 39 { 40 // FIXME: Full memory barrier. We need a syscall for this. 41 // Should we implement this or is empty definition ok here? 42 } 43 38 44 unsigned __sync_add_and_fetch_4(volatile void *vptr, unsigned val) 39 45 {
Note:
See TracChangeset
for help on using the changeset viewer.