Changeset 3679f51a in mainline for uspace/lib/c/include/rcu.h
- Timestamp:
- 2018-06-25T20:41:09Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 95838f1
- Parents:
- d73d992
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-25 20:30:35)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-25 20:41:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/rcu.h
rd73d992 r3679f51a 92 92 #define rcu_access(ptr) ACCESS_ONCE(ptr) 93 93 94 typedef enum blocking_mode {95 BM_BLOCK_FIBRIL,96 BM_BLOCK_THREAD97 } blocking_mode_t;98 99 94 extern void rcu_register_fibril(void); 100 95 extern void rcu_deregister_fibril(void); … … 105 100 extern bool rcu_read_locked(void); 106 101 107 #define rcu_synchronize() _rcu_synchronize(BM_BLOCK_FIBRIL) 108 109 extern void _rcu_synchronize(blocking_mode_t); 102 extern void rcu_synchronize(void); 110 103 111 104 #endif
Note:
See TracChangeset
for help on using the changeset viewer.