Changes in uspace/lib/c/generic/async/server.c [498ced1:205f1add] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async/server.c
r498ced1 r205f1add 110 110 #include <assert.h> 111 111 #include <errno.h> 112 #include < sys/time.h>112 #include <time.h> 113 113 #include <stdbool.h> 114 114 #include <stdlib.h> … … 916 916 * 917 917 */ 918 bool async_get_call_timeout(ipc_call_t *call, suseconds_t usecs)918 bool async_get_call_timeout(ipc_call_t *call, usec_t usecs) 919 919 { 920 920 assert(call); 921 921 assert(fibril_connection); 922 922 923 struct time val tv;924 struct time val*expires = NULL;923 struct timespec ts; 924 struct timespec *expires = NULL; 925 925 if (usecs) { 926 getuptime(&t v);927 t v_add_diff(&tv, usecs);928 expires = &t v;926 getuptime(&ts); 927 ts_add_diff(&ts, USEC2NSEC(usecs)); 928 expires = &ts; 929 929 } 930 930
Note:
See TracChangeset
for help on using the changeset viewer.