Changeset 11bb813 in mainline
- Timestamp:
- 2011-01-24T00:00:13Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3c22f70
- Parents:
- 124c061
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/async.h
r124c061 r11bb813 44 44 45 45 typedef ipc_callid_t aid_t; 46 typedef void (*async_client_conn_t)(ipc_callid_t callid, ipc_call_t *call);46 typedef void (*async_client_conn_t)(ipc_callid_t, ipc_call_t *); 47 47 48 48 extern atomic_t async_futex; … … 51 51 52 52 extern int __async_init(void); 53 extern ipc_callid_t async_get_call_timeout(ipc_call_t * call, suseconds_t usecs);53 extern ipc_callid_t async_get_call_timeout(ipc_call_t *, suseconds_t); 54 54 55 55 static inline ipc_callid_t async_get_call(ipc_call_t *data) … … 85 85 (arg5), (dataptr)) 86 86 87 extern aid_t async_send_fast(int phoneid, sysarg_t method, sysarg_t arg1, 88 sysarg_t arg2, sysarg_t arg3, sysarg_t arg4, ipc_call_t *dataptr); 89 extern aid_t async_send_slow(int phoneid, sysarg_t method, sysarg_t arg1, 90 sysarg_t arg2, sysarg_t arg3, sysarg_t arg4, sysarg_t arg5, 91 ipc_call_t *dataptr); 92 extern void async_wait_for(aid_t amsgid, sysarg_t *result); 93 extern int async_wait_timeout(aid_t amsgid, sysarg_t *retval, 94 suseconds_t timeout); 95 96 extern fid_t async_new_connection(sysarg_t in_phone_hash, ipc_callid_t callid, 97 ipc_call_t *call, void (*cthread)(ipc_callid_t, ipc_call_t *)); 98 extern void async_usleep(suseconds_t timeout); 87 extern aid_t async_send_fast(int, sysarg_t, sysarg_t, sysarg_t, sysarg_t, 88 sysarg_t, ipc_call_t *); 89 extern aid_t async_send_slow(int, sysarg_t, sysarg_t, sysarg_t, sysarg_t, 90 sysarg_t, sysarg_t, ipc_call_t *); 91 extern void async_wait_for(aid_t, sysarg_t *); 92 extern int async_wait_timeout(aid_t, sysarg_t *, suseconds_t); 93 94 extern fid_t async_new_connection(sysarg_t, ipc_callid_t, ipc_call_t *, 95 void (*)(ipc_callid_t, ipc_call_t *)); 96 extern void async_usleep(suseconds_t); 99 97 extern void async_create_manager(void); 100 98 extern void async_destroy_manager(void); 101 99 102 extern void async_set_client_connection(async_client_conn_t conn);103 extern void async_set_interrupt_received(async_client_conn_t conn);100 extern void async_set_client_connection(async_client_conn_t); 101 extern void async_set_interrupt_received(async_client_conn_t); 104 102 105 103 /* Wrappers for simple communication */ … … 243 241 (arg5), (rc1), (rc2), (rc3), (rc4), (rc5)) 244 242 245 extern sysarg_t async_req_fast(int phoneid, sysarg_t method, sysarg_t arg1, 246 sysarg_t arg2, sysarg_t arg3, sysarg_t arg4, sysarg_t *r1, sysarg_t *r2, 247 sysarg_t *r3, sysarg_t *r4, sysarg_t *r5); 248 extern sysarg_t async_req_slow(int phoneid, sysarg_t method, sysarg_t arg1, 249 sysarg_t arg2, sysarg_t arg3, sysarg_t arg4, sysarg_t arg5, sysarg_t *r1, 250 sysarg_t *r2, sysarg_t *r3, sysarg_t *r4, sysarg_t *r5); 243 extern sysarg_t async_req_fast(int, sysarg_t, sysarg_t, sysarg_t, sysarg_t, 244 sysarg_t, sysarg_t *, sysarg_t *, sysarg_t *, sysarg_t *, sysarg_t *); 245 extern sysarg_t async_req_slow(int, sysarg_t, sysarg_t, sysarg_t, sysarg_t, 246 sysarg_t, sysarg_t, sysarg_t *, sysarg_t *, sysarg_t *, sysarg_t *, 247 sysarg_t *); 251 248 252 249 static inline void async_serialize_start(void)
Note:
See TracChangeset
for help on using the changeset viewer.