Lines Matching refs:fssh_rw_lock
33 typedef struct fssh_rw_lock { struct
37 } fssh_rw_lock; argument
66 extern void fssh_rw_lock_init(fssh_rw_lock* lock, const char* name);
68 extern void fssh_rw_lock_init_etc(fssh_rw_lock* lock, const char* name, uint32_t flags);
69 extern void fssh_rw_lock_destroy(fssh_rw_lock* lock);
70 extern fssh_status_t fssh_rw_lock_read_lock(fssh_rw_lock* lock);
71 extern fssh_status_t fssh_rw_lock_read_unlock(fssh_rw_lock* lock);
72 extern fssh_status_t fssh_rw_lock_write_lock(fssh_rw_lock* lock);
73 extern fssh_status_t fssh_rw_lock_write_unlock(fssh_rw_lock* lock);
125 inline bool Lock(fssh_rw_lock *lockable) in Lock()
130 inline void Unlock(fssh_rw_lock *lockable) in Unlock()
138 inline bool Lock(fssh_rw_lock *lockable) in Lock()
143 inline void Unlock(fssh_rw_lock *lockable) in Unlock()
149 typedef AutoLocker<fssh_rw_lock, ReadWriteLockReadLocking> ReadLocker;
150 typedef AutoLocker<fssh_rw_lock, ReadWriteLockWriteLocking> WriteLocker;