Home
last modified time | relevance | path

Searched refs:wakeup (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/glib/glib/
Dgwakeup.c73 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 …]
Dgwakeup.h28 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);
Dglib-private.h99 void (* g_wakeup_free) (GWakeup *wakeup);
100 void (* g_wakeup_get_pollfd) (GWakeup *wakeup,
102 void (* g_wakeup_signal) (GWakeup *wakeup);
103 void (* g_wakeup_acknowledge) (GWakeup *wakeup);
/third_party/glib/glib/tests/
Dgwakeuptest.c12 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/ltp/testcases/realtime/func/prio-wake/
Dprio-wake.c102 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()
222 for (i = 0; i < (wakeup.counter - 1); i++) { in main()
223 if (wakeup.arr[i] < wakeup.arr[i + 1]) { in main()
225 wakeup.arr[i], wakeup.arr[i + 1]); in main()
/third_party/glib/gio/
Dgcancellable.c53 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()
409 if (cancellable->priv->wakeup == NULL) in g_cancellable_make_pollfd()
411 cancellable->priv->wakeup = GLIB_PRIVATE_CALL (g_wakeup_new) (); in g_cancellable_make_pollfd()
414 GLIB_PRIVATE_CALL (g_wakeup_signal) (cancellable->priv->wakeup); in g_cancellable_make_pollfd()
417 GLIB_PRIVATE_CALL (g_wakeup_get_pollfd) (cancellable->priv->wakeup, pollfd); in g_cancellable_make_pollfd()
458 GLIB_PRIVATE_CALL (g_wakeup_free) (priv->wakeup); in g_cancellable_release_fd()
[all …]
/third_party/curl/tests/data/
Dtest15645 wakeup
16 wakeup
25 wakeup before poll with no easy handles
Dtest15658 wakeup
25 wakeup
34 wakeup from another thread
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D17-16.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-15.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-3.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-7.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-18.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-8.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-14.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-4.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-9.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-11.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-13.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-12.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-23.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-5.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-10.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-25.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()
D17-2.c28 static volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()

1234