Flags that further specify the behavior of calls in notification group.
More...
Flags that further specify the behavior of calls in notification group.
◆ NOTIFY_NO_FLAGS
#define NOTIFY_NO_FLAGS 0 |
Statement that there are no flags passed to the call.
◆ NOTIFY_OBJECT_FLAGS_MASK
◆ NOTIFY_PRIORITY_DROP
Drop inherited priority after notification has been sent.
Calling thread will drop elevated priority after notifications have been sent and return to its default priority.
◆ NOTIFY_PRIORITY_INHERIT
Inherit scheduler priority to specific thread if caller is going to be suspended.
This flag tells the kernel to inherit scheduler priority of the current thread to specific thread ID. This only happens if calling thread is going to be suspended waiting for notification. If specific thread already has priority higher than that of the calling thread then priority change does not happen.
- Parameters
-
thread_id | ID of the thread to inherit the priority |
◆ NOTIFY_PRIORITY_INHERIT_THREAD
#define NOTIFY_PRIORITY_INHERIT_THREAD |
( |
|
flags | ) |
((flags >> 8) && 0xFF) |
◆ NOTIFY_QUEUE_NOTIFICATION
If there is no object waiting for notification then queue notification for later.
Enabling this flag will cause that any notification that won't immediately wake up any thread will be queued into pending notifications list.
◆ NOTIFY_VALUE_INCREMENT
If value is as expected, then increment it before returning from the syscall.
This effectively implements compare-increment semantics.
◆ WAIT_FOR_OBJECT_FLAGS_MASK
◆ NotifyFlags
Enumerator |
---|
NOTIFY_PRIORITY_INHERIT_FLAG | |
NOTIFY_PRIORITY_DROP_FLAG | |
NOTIFY_QUEUE_NOTIFICATION_FLAG | |
NOTIFY_VALUE_INCREMENT_FLAG | |