| /third_party/glib/glib/ |
| D | gwakeup.c | 73 HANDLE wakeup; in g_wakeup_new() local 75 wakeup = CreateEvent (NULL, TRUE, FALSE, NULL); in g_wakeup_new() 77 if (wakeup == NULL) in g_wakeup_new() 81 return (GWakeup *) wakeup; in g_wakeup_new() 85 g_wakeup_get_pollfd (GWakeup *wakeup, in g_wakeup_get_pollfd() argument 88 poll_fd->fd = (gintptr) wakeup; in g_wakeup_get_pollfd() 93 g_wakeup_acknowledge (GWakeup *wakeup) in g_wakeup_acknowledge() argument 95 ResetEvent ((HANDLE) wakeup); in g_wakeup_acknowledge() 99 g_wakeup_signal (GWakeup *wakeup) in g_wakeup_signal() argument 101 SetEvent ((HANDLE) wakeup); in g_wakeup_signal() [all …]
|
| D | gwakeup.h | 28 void g_wakeup_free (GWakeup *wakeup); 30 void g_wakeup_get_pollfd (GWakeup *wakeup, 32 void g_wakeup_signal (GWakeup *wakeup); 33 void g_wakeup_acknowledge (GWakeup *wakeup);
|
| D | glib-private.h | 43 void (* g_wakeup_free) (GWakeup *wakeup); 44 void (* g_wakeup_get_pollfd) (GWakeup *wakeup, 46 void (* g_wakeup_signal) (GWakeup *wakeup); 47 void (* g_wakeup_acknowledge) (GWakeup *wakeup);
|
| /third_party/glib/glib/tests/ |
| D | gwakeuptest.c | 12 check_signaled (GWakeup *wakeup) in check_signaled() argument 16 g_wakeup_get_pollfd (wakeup, &fd); in check_signaled() 21 wait_for_signaled (GWakeup *wakeup) in wait_for_signaled() argument 25 g_wakeup_get_pollfd (wakeup, &fd); in wait_for_signaled() 32 GWakeup *wakeup; in test_semantics() local 38 wakeup = g_wakeup_new (); in test_semantics() 39 g_assert (!check_signaled (wakeup)); in test_semantics() 41 g_wakeup_signal (wakeup); in test_semantics() 42 g_assert (check_signaled (wakeup)); in test_semantics() 44 g_wakeup_acknowledge (wakeup); in test_semantics() [all …]
|
| /third_party/Linux_Kernel/include/linux/ |
| D | pm_wakeup.h | 2 * pm_wakeup.h - Power management wakeup interface 34 * struct wakeup_source - Representation of wakeup sources 36 * @name: Name of the wakeup source 37 * @entry: Wakeup source list entry 38 * @lock: Wakeup source lock 40 * @timer: Wakeup timer list 41 * @timer_expires: Wakeup timer expiration 42 * @total_time: Total time this wakeup source has been active. 43 * @max_time: Maximum time this wakeup source has been continuously active. 44 * @last_time: Monotonic clock when the wakeup source's was touched last time. [all …]
|
| /third_party/ltp/testcases/realtime/func/prio-wake/ |
| D | prio-wake.c | 23 * Test priority ordered wakeup with pthread_cond_* 31 * - Once all the threads finish execution, the start and wakeup times 33 * - The output must indicate that the thread wakeup happened in a 102 struct array wakeup = { NULL, 0 }; variable 158 wakeup.arr[wakeup.counter++] = mypri; in worker_thread() 182 wakeup.arr = malloc(rt_threads * sizeof(int)); in main() 183 wakeup.counter = 0; in main() 185 printf("Priority Ordered Wakeup\n"); in main() 222 for (i = 0; i < (wakeup.counter - 1); i++) { in main() 223 if (wakeup.arr[i] < wakeup.arr[i + 1]) { in main() [all …]
|
| /third_party/grpc/test/cpp/common/ |
| D | timer_test.cc | 73 // We expect to get 1 wakeup per second. Sometimes we also get a wakeup in TEST_F() 95 // We expect to get 1 wakeup/second + 1 wakeup for the expired timer + maybe 1 in TEST_F() 96 // wakeup during initialization. i.e. in 1.5 seconds we expect 2 or 3 wakeups. in TEST_F() 122 // We expect to get 1 wakeup/second + 1 wakeup for per timer fired + maybe 1 in TEST_F() 123 // wakeup during initialization. i.e. in 1.5 seconds we expect 11 or 12 in TEST_F() 155 // We expect to get 1 wakeup/second + 1 wakeup per timer fired + maybe 1 in TEST_F() 156 // wakeup during initialization. i.e. in 1.5 seconds we expect 6 or 7 wakeups. in TEST_F()
|
| /third_party/curl/tests/data/ |
| D | test1564 | 5 wakeup 16 wakeup 25 wakeup before poll with no easy handles
|
| D | test1565 | 8 wakeup 25 wakeup 34 wakeup from another thread
|
| /third_party/Linux_Kernel/include/linux/input/ |
| D | bu21013.h | 19 * @wakeup: wakeup flag 31 bool wakeup; member
|
| D | samsung-keypad.h | 27 * @wakeup: controls whether the device should be set up as wakeup source. 38 bool wakeup; member
|
| /third_party/boost/libs/fiber/doc/ |
| D | rationale.qbk | 73 [heading spurious wakeup] 75 Spurious wakeup can happen when using 78 signaled while the awaited condition may still be false. Spurious wakeup can 80 `std::condition_variable` wakeup completely predictable would slow down all 84 __condition__ is not subject to spurious wakeup. Nonetheless it is
|
| /third_party/python/Modules/ |
| D | signalmodule.c | 116 } wakeup = {.fd = INVALID_FD, .warn_on_full_buffer = 1, .use_send = 0}; variable 122 } wakeup = {.fd = INVALID_FD, .warn_on_full_buffer = 1}; variable 227 "signal wakeup fd:\n"); in report_wakeup_write_error() 245 "signal wakeup fd:\n"); in report_wakeup_send_error() 270 /* And then write to the wakeup fd *after* setting all the globals and in trip_signal() 271 doing the _PyEval_SignalReceived. We used to write to the wakeup fd in trip_signal() 275 - main thread blocks on select([wakeup.fd], ...) in trip_signal() 277 - trip_signal writes to the wakeup fd in trip_signal() 280 - the main thread empties the wakeup fd in trip_signal() 290 fd = Py_SAFE_DOWNCAST(wakeup.fd, SOCKET_T, int); in trip_signal() [all …]
|
| /third_party/glib/gio/ |
| D | gcancellable.c | 53 GWakeup *wakeup; member 69 if (cancellable->priv->wakeup) 70 GLIB_PRIVATE_CALL (g_wakeup_free) (cancellable->priv->wakeup); 276 if (priv->wakeup) in g_cancellable_reset() 277 GLIB_PRIVATE_CALL (g_wakeup_acknowledge) (priv->wakeup); in g_cancellable_reset() 405 if (cancellable->priv->wakeup == NULL) in g_cancellable_make_pollfd() 407 cancellable->priv->wakeup = GLIB_PRIVATE_CALL (g_wakeup_new) (); in g_cancellable_make_pollfd() 410 GLIB_PRIVATE_CALL (g_wakeup_signal) (cancellable->priv->wakeup); in g_cancellable_make_pollfd() 413 GLIB_PRIVATE_CALL (g_wakeup_get_pollfd) (cancellable->priv->wakeup, pollfd); in g_cancellable_make_pollfd() 454 GLIB_PRIVATE_CALL (g_wakeup_free) (priv->wakeup); in g_cancellable_release_fd() [all …]
|
| /third_party/Linux_Kernel/include/linux/mfd/samsung/ |
| D | core.h | 61 * @wakeup: Whether or not this is a wakeup device 74 bool wakeup; member 90 bool wakeup; member
|
| /third_party/curl/tests/libtest/ |
| D | lib1564.c | 47 /* no wakeup */ in test() 62 /* try a single wakeup */ in test() 79 /* previous wakeup should not wake up this */ in test() 94 /* try lots of wakeup */ in test()
|
| /third_party/python/Python/ |
| D | condvar.h | 23 * the wakeup of a subsequent thread to try a PyCOND_WAIT(), 29 * specific other thread will get the wakeup signal 141 * is only needed to catch those "lost wakeup" events and in PyCOND_INIT() 166 /* "lost wakeup bug" would occur if the caller were interrupted here, in _PyCOND_WAIT_MS() 178 * just means an extra spurious wakeup for a waiting thread. in _PyCOND_WAIT_MS() 213 * a delay between notify and actual wakeup of the target thread in PyCOND_SIGNAL()
|
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
| D | 17-8.c | 28 volatile sig_atomic_t wakeup = 1; variable 33 wakeup++; in handler() 50 while (wakeup == 1) { in main()
|
| D | 17-14.c | 28 volatile sig_atomic_t wakeup = 1; variable 33 wakeup++; in handler() 50 while (wakeup == 1) { in main()
|
| D | 17-18.c | 28 volatile sig_atomic_t wakeup = 1; variable 33 wakeup++; in handler() 50 while (wakeup == 1) { in main()
|
| D | 17-15.c | 28 volatile sig_atomic_t wakeup = 1; variable 33 wakeup++; in handler() 50 while (wakeup == 1) { in main()
|
| D | 17-11.c | 28 volatile sig_atomic_t wakeup = 1; variable 33 wakeup++; in handler() 50 while (wakeup == 1) { in main()
|
| D | 17-3.c | 28 volatile sig_atomic_t wakeup = 1; variable 33 wakeup++; in handler() 50 while (wakeup == 1) { in main()
|
| D | 17-22.c | 28 volatile sig_atomic_t wakeup = 1; variable 33 wakeup++; in handler() 50 while (wakeup == 1) { in main()
|
| D | 17-9.c | 28 volatile sig_atomic_t wakeup = 1; variable 33 wakeup++; in handler() 50 while (wakeup == 1) { in main()
|