Changeset 1b7eec9 in mainline for uspace/lib/urcu/rcu.h
- Timestamp:
- 2012-12-04T03:48:21Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9a3b469
- Parents:
- cb10bc9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/urcu/rcu.h
rcb10bc9 r1b7eec9 92 92 #define rcu_access(ptr) ACCESS_ONCE(ptr) 93 93 94 typedef enum blocking_mode { 95 BM_BLOCK_FIBRIL, 96 BM_BLOCK_THREAD 97 } blocking_mode_t; 94 98 95 99 extern void rcu_register_fibril(void); … … 101 105 extern bool rcu_read_locked(void); 102 106 103 extern void rcu_synchronize(void); 107 #define rcu_synchronize() _rcu_synchronize(BM_BLOCK_FIBRIL) 108 109 extern void _rcu_synchronize(blocking_mode_t); 104 110 105 111 #endif
Note:
See TracChangeset
for help on using the changeset viewer.