Changeset 231b3fd in mainline for uspace/lib/c/include/fibril_synch.h
- Timestamp:
- 2018-08-25T21:35:26Z (6 years ago)
- Parents:
- e2625b1a (diff), 3c45353 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jakub Jermář <jakub@…> (2018-08-25 21:35:26)
- git-committer:
- GitHub <noreply@…> (2018-08-25 21:35:26)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/fibril_synch.h
re2625b1a r231b3fd 39 39 #include <adt/list.h> 40 40 #include <tls.h> 41 #include < sys/time.h>41 #include <time.h> 42 42 #include <stdbool.h> 43 43 … … 138 138 fid_t handler_fid; 139 139 140 suseconds_t delay;140 usec_t delay; 141 141 fibril_timer_fun_t fun; 142 142 void *arg; … … 181 181 extern void fibril_condvar_initialize(fibril_condvar_t *); 182 182 extern errno_t fibril_condvar_wait_timeout(fibril_condvar_t *, fibril_mutex_t *, 183 suseconds_t);183 usec_t); 184 184 extern void fibril_condvar_wait(fibril_condvar_t *, fibril_mutex_t *); 185 185 extern void fibril_condvar_signal(fibril_condvar_t *); … … 188 188 extern fibril_timer_t *fibril_timer_create(fibril_mutex_t *); 189 189 extern void fibril_timer_destroy(fibril_timer_t *); 190 extern void fibril_timer_set(fibril_timer_t *, suseconds_t, fibril_timer_fun_t,190 extern void fibril_timer_set(fibril_timer_t *, usec_t, fibril_timer_fun_t, 191 191 void *); 192 extern void fibril_timer_set_locked(fibril_timer_t *, suseconds_t,192 extern void fibril_timer_set_locked(fibril_timer_t *, usec_t, 193 193 fibril_timer_fun_t, void *); 194 194 extern fibril_timer_state_t fibril_timer_clear(fibril_timer_t *); … … 198 198 extern void fibril_semaphore_up(fibril_semaphore_t *); 199 199 extern void fibril_semaphore_down(fibril_semaphore_t *); 200 extern errno_t fibril_semaphore_down_timeout(fibril_semaphore_t *, suseconds_t);200 extern errno_t fibril_semaphore_down_timeout(fibril_semaphore_t *, usec_t); 201 201 extern void fibril_semaphore_close(fibril_semaphore_t *); 202 202 … … 205 205 extern void mpsc_destroy(mpsc_t *); 206 206 extern errno_t mpsc_send(mpsc_t *, const void *); 207 extern errno_t mpsc_receive(mpsc_t *, void *, const struct time val*);207 extern errno_t mpsc_receive(mpsc_t *, void *, const struct timespec *); 208 208 extern void mpsc_close(mpsc_t *); 209 209
Note:
See TracChangeset
for help on using the changeset viewer.