Rev 4475 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4475 | Rev 4542 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | #include <atomic.h> |
41 | #include <atomic.h> |
42 | #include <bool.h> |
42 | #include <bool.h> |
43 | 43 | ||
44 | typedef ipc_callid_t aid_t; |
44 | typedef ipc_callid_t aid_t; |
45 | typedef void (*async_client_conn_t)(ipc_callid_t callid, ipc_call_t *call); |
45 | typedef void (*async_client_conn_t)(ipc_callid_t callid, ipc_call_t *call); |
46 | typedef void (*async_pending_t)(void); |
- | |
47 | 46 | ||
48 | extern atomic_t async_futex; |
47 | extern atomic_t async_futex; |
49 | 48 | ||
50 | static inline void async_manager(void) |
49 | static inline void async_manager(void) |
51 | { |
50 | { |
Line 97... | Line 96... | ||
97 | extern void async_destroy_manager(void); |
96 | extern void async_destroy_manager(void); |
98 | extern int _async_init(void); |
97 | extern int _async_init(void); |
99 | 98 | ||
100 | extern void async_set_client_connection(async_client_conn_t conn); |
99 | extern void async_set_client_connection(async_client_conn_t conn); |
101 | extern void async_set_interrupt_received(async_client_conn_t conn); |
100 | extern void async_set_interrupt_received(async_client_conn_t conn); |
102 | extern void async_set_pending(async_pending_t pend); |
- | |
103 | 101 | ||
104 | /* Wrappers for simple communication */ |
102 | /* Wrappers for simple communication */ |
105 | #define async_msg_0(phone, method) \ |
103 | #define async_msg_0(phone, method) \ |
106 | ipc_call_async_0((phone), (method), NULL, NULL, true) |
104 | ipc_call_async_0((phone), (method), NULL, NULL, true) |
107 | #define async_msg_1(phone, method, arg1) \ |
105 | #define async_msg_1(phone, method, arg1) \ |