MCPcopy Create free account
hub / github.com/f9micro/f9-kernel / notify_wake_thread

Function notify_wake_thread

kernel/notification.c:211–254  ·  view source on GitHub ↗

* Wake thread blocked on SYS_NOTIFY_WAIT with proper semantics. * * This function implements the full notification wake protocol: * 1. Check if thread is T_NOTIFY_BLOCKED (not T_RECV_BLOCKED) * 2. Check if signaled bits match thread's notify_mask * 3. Clear matched bits from notify_bits * 4. Write matched bits to thread's saved R0 (return value) * 5. Clear notify_mask and transition to T_RU

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

sys_notify_postFunction · 0.85
ktimer_notify_handlerFunction · 0.85

Calls 4

irq_save_flagsFunction · 0.85
irq_restore_flagsFunction · 0.85
update_notify_pendingFunction · 0.85
sched_enqueueFunction · 0.85

Tested by

no test coverage detected