Ignore:
File:
1 edited

Legend:

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

    r7c15d6f r3e6a98c5  
    116116        /** Timer has fired and has not been cleared since */
    117117        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
    122120} fibril_timer_state_t;
    123121
     
    131129typedef struct {
    132130        fibril_mutex_t lock;
    133         fibril_mutex_t *lockp;
    134131        fibril_condvar_t cv;
    135132        fid_t fibril;
    136133        fibril_timer_state_t state;
    137         /** FID of fibril executing handler or 0 if handler is not running */
    138         fid_t handler_fid;
    139134
    140135        suseconds_t delay;
     
    165160extern void fibril_condvar_broadcast(fibril_condvar_t *);
    166161
    167 extern fibril_timer_t *fibril_timer_create(fibril_mutex_t *);
     162extern fibril_timer_t *fibril_timer_create(void);
    168163extern void fibril_timer_destroy(fibril_timer_t *);
    169164extern void fibril_timer_set(fibril_timer_t *, suseconds_t, fibril_timer_fun_t,
    170165    void *);
    171 extern void fibril_timer_set_locked(fibril_timer_t *, suseconds_t,
    172     fibril_timer_fun_t, void *);
    173166extern fibril_timer_state_t fibril_timer_clear(fibril_timer_t *);
    174 extern fibril_timer_state_t fibril_timer_clear_locked(fibril_timer_t *);
    175167
    176168#endif
Note: See TracChangeset for help on using the changeset viewer.