Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/rcu.h

    r3679f51a r7473807  
    9292#define rcu_access(ptr) ACCESS_ONCE(ptr)
    9393
     94typedef enum blocking_mode {
     95        BM_BLOCK_FIBRIL,
     96        BM_BLOCK_THREAD
     97} blocking_mode_t;
     98
    9499extern void rcu_register_fibril(void);
    95100extern void rcu_deregister_fibril(void);
     
    100105extern bool rcu_read_locked(void);
    101106
    102 extern void rcu_synchronize(void);
     107#define rcu_synchronize() _rcu_synchronize(BM_BLOCK_FIBRIL)
     108
     109extern void _rcu_synchronize(blocking_mode_t);
    103110
    104111#endif
Note: See TracChangeset for help on using the changeset viewer.