Searched refs:wake (Results 1 – 10 of 10) sorted by relevance
| /xnu-11215/doc/primitives/ |
| H A D | sched_cond.md | 7 `sched_cond_*` (see `sched_prim.h`) provides a means of optimized wake/sleep 41 1. Multiple calls to wake the consumer thread (A) may be made before the consumer_thread has awoken. 42 This results in precious CPU cycles being spent in (A) to wake the thread despite the fact that 75 In this example, the producer thread signals the consumer (E), resulting in an explicit wake (A) if…
|
| /xnu-11215/osfmk/kern/ |
| H A D | exclaves.c | 1686 wake->queueId, wake->epoch, wake->all); in handle_response_wake() 1687 assert3u(wake->wakerHostId, ==, ctid); in handle_response_wake() 1689 const XrtHosted_Word_t id = wake->queueId; in handle_response_wake() 1690 const uint64_t epoch = wake->epoch; in handle_response_wake() 1691 const esync_wake_mode_t mode = wake->all != 0 ? in handle_response_wake() 1717 wake->queueId, wake->epoch, in handle_response_wake_with_owner() 1718 wake->owner); in handle_response_wake_with_owner() 1720 assert3u(wake->wakerHostId, ==, ctid); in handle_response_wake_with_owner() 1722 const ctid_t owner = (ctid_t)wake->ownerHostId; in handle_response_wake_with_owner() 1723 const XrtHosted_Word_t id = wake->queueId; in handle_response_wake_with_owner() [all …]
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IOEventLink.iig | 115 …* @brief Signal the eventlink. If a thread is waiting on the eventlink, this will wake up th… 131 …nal the eventlink and wait. If a thread is waiting on the eventlink, this will wake up that thread. 140 …nk and wait with a timeout. If a thread is waiting on the eventlink, this will wake up that thread. 151 …* @brief Wait with a timeout. If a thread is waiting on the eventlink, this will wake up tha… 163 * @discussion If a thread is waiting on the eventlink, cancellation will wake up that thread.
|
| H A D | IODispatchQueue.iig | 233 kIODispatchQueueWakeupAll wake all threads waiting in Sleep(). 234 The default is to wake only one of any waiting threads.
|
| /xnu-11215/doc/lifecycle/ |
| H A D | hibernation.md | 206 * After all of the wired pages have been restored, a wake from sleep is 211 * The kernel proceeds on essentially a normal S2R wake, with some 213 - On ARM64, an important difference is that a normal S2R wake on some 214 platforms will run through the reconfig engine, whereas a hibernate wake 235 * The polling driver is closed down and regular wake proceeds. 236 * When the kernel calls IOKit to wake (normal execution context)
|
| /xnu-11215/bsd/nfs/ |
| H A D | nfs_socket.c | 476 int wake = (slp->ns_flag & SLP_WORKTODO); in nfsrv_rcv_locked() local 478 if (wake && nfsd_thread_count) { in nfsrv_rcv_locked()
|
| /xnu-11215/doc/vm/ |
| H A D | memorystatus.md | 137 | Thread name | Main function | wake event | 173 …wake up ReportCrash while the system is low on memory, we maintain one global snapshot (`memorysta…
|
| H A D | freezer.md | 21 …guous compressor VA range, we put those segments on the swapout queue and wake up the swapout thre…
|
| /xnu-11215/tests/ |
| H A D | stackshot_block_owner_14362384.m | 883 ret = kill(pid, SIGUSR1); // wake up child so waitpid thread can reap it & exit
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOPMrootDomain.cpp | 9348 OSSharedPtr<const OSSymbol> wake; local 9436 wake = OSSymbol::withCString("Wake"); 9440 responseDescription->setObject(kIOPMStatsSystemTransitionKey, wake.get()); 9445 responseDescription->setObject(kIOPMStatsSystemTransitionKey, wake.get());
|