Changes in uspace/lib/c/include/fibril_synch.h [d161715:7f122e3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/fibril_synch.h
rd161715 r7f122e3 36 36 #define LIBC_FIBRIL_SYNCH_H_ 37 37 38 #include <async.h> 38 39 #include <fibril.h> 39 40 #include <adt/list.h> 40 41 #include <libarch/tls.h> 41 42 #include <sys/time.h> 42 #include <bool.h>43 43 44 44 typedef struct { 45 fibril_owner_info_t oi; /**<Keep this the first thing. */45 fibril_owner_info_t oi; /* Keep this the first thing. */ 46 46 int counter; 47 47 link_t waiters; … … 64 64 65 65 typedef struct { 66 fibril_owner_info_t oi; /**<Keep this the first thing. */66 fibril_owner_info_t oi; /* Keep this the first thing. */ 67 67 unsigned writers; 68 68 unsigned readers; … … 105 105 extern bool fibril_mutex_trylock(fibril_mutex_t *); 106 106 extern void fibril_mutex_unlock(fibril_mutex_t *); 107 extern bool fibril_mutex_is_locked(fibril_mutex_t *);108 107 109 108 extern void fibril_rwlock_initialize(fibril_rwlock_t *); … … 112 111 extern void fibril_rwlock_read_unlock(fibril_rwlock_t *); 113 112 extern void fibril_rwlock_write_unlock(fibril_rwlock_t *); 114 extern bool fibril_rwlock_is_read_locked(fibril_rwlock_t *);115 extern bool fibril_rwlock_is_write_locked(fibril_rwlock_t *);116 extern bool fibril_rwlock_is_locked(fibril_rwlock_t *);117 113 118 114 extern void fibril_condvar_initialize(fibril_condvar_t *);
Note:
See TracChangeset
for help on using the changeset viewer.