Changes in uspace/lib/libc/generic/async.c [1ea99cc:8619f25] in mainline
- File:
-
- 1 edited
-
uspace/lib/libc/generic/async.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/async.c
r1ea99cc r8619f25 107 107 atomic_t async_futex = FUTEX_INITIALIZER; 108 108 109 /** Number of threads waiting for IPC in the kernel. */ 110 atomic_t threads_in_ipc_wait = { 0 }; 111 109 112 /** Structures of this type represent a waiting fibril. */ 110 113 typedef struct { … … 175 178 176 179 /** Identifier of the incoming connection handled by the current fibril. */ 177 staticfibril_local connection_t *FIBRIL_connection;180 fibril_local connection_t *FIBRIL_connection; 178 181 179 182 static void default_client_connection(ipc_callid_t callid, ipc_call_t *call); … … 683 686 684 687 futex_up(&async_futex); 688 689 atomic_inc(&threads_in_ipc_wait); 685 690 686 691 ipc_call_t call; … … 688 693 SYNCH_FLAGS_NONE); 689 694 695 atomic_dec(&threads_in_ipc_wait); 696 690 697 if (!callid) { 691 698 handle_expired_timeouts();
Note:
See TracChangeset
for help on using the changeset viewer.
