Benchmarks Documentation Examples Repository Blog Contact

Notify_flags

Enumeration

Unknown member type NotifyFlags

Macros

NOTIFY_PRIORITY_INHERIT(thread_id)

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.

thread_id ID of the thread to inherit the priority

  • thread_id ID of the thread to inherit the priority

NOTIFY_PRIORITY_DROP

Calling thread will drop elevated priority after notifications have been sent and return to its default priority.

NOTIFY_QUEUE_NOTIFICATION

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

This effectively implements compare-increment semantics.

NOTIFY_NO_FLAGS

Statement that there are no flags passed to the call.

NOTIFY_PRIORITY_INHERIT_THREAD(flags)

WAIT_FOR_OBJECT_FLAGS_MASK

NOTIFY_OBJECT_FLAGS_MASK

64kB of protected memory ought to be enough for everyone.