Changeset c07544d3 in mainline for uspace/lib/libc/include/async.h
- Timestamp:
- 2009-04-24T15:38:18Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 10270a8
- Parents:
- 422fd81
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/async.h
r422fd81 rc07544d3 99 99 /* Wrappers for simple communication */ 100 100 #define async_msg_0(phone, method) \ 101 ipc_call_async_0((phone), (method), NULL, NULL, !in_interrupt_handler())101 ipc_call_async_0((phone), (method), NULL, NULL, true) 102 102 #define async_msg_1(phone, method, arg1) \ 103 103 ipc_call_async_1((phone), (method), (arg1), NULL, NULL, \ 104 !in_interrupt_handler())104 true) 105 105 #define async_msg_2(phone, method, arg1, arg2) \ 106 106 ipc_call_async_2((phone), (method), (arg1), (arg2), NULL, NULL, \ 107 !in_interrupt_handler())107 true) 108 108 #define async_msg_3(phone, method, arg1, arg2, arg3) \ 109 109 ipc_call_async_3((phone), (method), (arg1), (arg2), (arg3), NULL, NULL, \ 110 !in_interrupt_handler())110 true) 111 111 #define async_msg_4(phone, method, arg1, arg2, arg3, arg4) \ 112 112 ipc_call_async_4((phone), (method), (arg1), (arg2), (arg3), (arg4), NULL, \ 113 NULL, !in_interrupt_handler())113 NULL, true) 114 114 #define async_msg_5(phone, method, arg1, arg2, arg3, arg4, arg5) \ 115 115 ipc_call_async_5((phone), (method), (arg1), (arg2), (arg3), (arg4), \ 116 (arg5), NULL, NULL, !in_interrupt_handler())116 (arg5), NULL, NULL, true) 117 117 118 118 /* … … 254 254 } 255 255 256 extern bool in_interrupt_handler(void);257 258 256 extern atomic_t async_futex; 259 257
Note:
See TracChangeset
for help on using the changeset viewer.