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