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