Changes in uspace/lib/c/include/fibril_synch.h [3e6a98c5:7c15d6f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/fibril_synch.h
r3e6a98c5 r7c15d6f 116 116 /** Timer has fired and has not been cleared since */ 117 117 fts_fired, 118 /** Timer is being destroyed */ 119 fts_cleanup 118 /** Timer fibril is requested to terminate */ 119 fts_cleanup, 120 /** Timer fibril acknowledged termination */ 121 fts_clean 120 122 } fibril_timer_state_t; 121 123 … … 129 131 typedef struct { 130 132 fibril_mutex_t lock; 133 fibril_mutex_t *lockp; 131 134 fibril_condvar_t cv; 132 135 fid_t fibril; 133 136 fibril_timer_state_t state; 137 /** FID of fibril executing handler or 0 if handler is not running */ 138 fid_t handler_fid; 134 139 135 140 suseconds_t delay; … … 160 165 extern void fibril_condvar_broadcast(fibril_condvar_t *); 161 166 162 extern fibril_timer_t *fibril_timer_create( void);167 extern fibril_timer_t *fibril_timer_create(fibril_mutex_t *); 163 168 extern void fibril_timer_destroy(fibril_timer_t *); 164 169 extern void fibril_timer_set(fibril_timer_t *, suseconds_t, fibril_timer_fun_t, 165 170 void *); 171 extern void fibril_timer_set_locked(fibril_timer_t *, suseconds_t, 172 fibril_timer_fun_t, void *); 166 173 extern fibril_timer_state_t fibril_timer_clear(fibril_timer_t *); 174 extern fibril_timer_state_t fibril_timer_clear_locked(fibril_timer_t *); 167 175 168 176 #endif
Note:
See TracChangeset
for help on using the changeset viewer.