Searched refs:notify (Results 1 - 6 of 6) sorted by relevance

/fuchsia/zircon/third_party/ulib/musl/src/thread/
H A Dcnd_timedwait.c15 atomic_int* notify; member in struct:waiter
78 * via the futex notify below. */
96 * node from the list. If so, it will have set node.notify and
103 if (node.notify) {
104 if (atomic_fetch_add(node.notify, -1) == 1)
105 __wake(node.notify, 1);
/fuchsia/zircon/third_party/ulib/musl/pthread/
H A Dpthread_cond_timedwait.c24 atomic_int* notify; member in struct:waiter
92 * via the futex notify below. */
110 * node from the list. If so, it will have set node.notify and
117 if (node.notify) {
118 if (atomic_fetch_add(node.notify, -1) == 1)
119 __wake(node.notify, 1);
183 * to remove itself from the list and to notify us of that. */
185 p->notify = &ref;
/fuchsia/zircon/kernel/lib/debuglog/include/lib/
H A Ddebuglog.h45 void (*notify)(void* cookie); member in struct:dlog_reader
76 void dlog_reader_init(dlog_reader_t* rdr, void (*notify)(void*), void* cookie);
/fuchsia/zircon/kernel/lib/debuglog/
H A Ddebuglog.cpp253 void dlog_reader_init(dlog_reader_t* rdr, void (*notify)(void*), void* cookie) { argument
257 rdr->notify = notify;
271 // simulate notify callback for events that arrived
273 if (do_notify && notify) {
274 notify(cookie);
289 // written and calls the notify callback on any readers that
300 // notify readers that new log items were posted
304 if (rdr->notify) {
305 rdr->notify(rd
[all...]
/fuchsia/zircon/system/dev/bus/acpi/
H A Ddev-pwrsrc.c27 // event to notify on
35 static zx_status_t call_PSR(acpi_pwrsrc_device_t* dev, bool notify) { argument
53 if (notify && (state != dev->info.state)) {
147 zxlogf(ERROR, "acpi-pwrsrc: could not install notify handler\n");
/fuchsia/zircon/system/dev/serial/aml-uart/
H A Daml-uart.cpp97 const bool notify = (state != state_); local
100 if (notify && notify_cb_) {

Completed in 100 milliseconds