Block-Ids are conventional tokens used
to represent the reason for a thread blocking. This occurs as the result
of the kernel entering TKSleep (either directly or via ProcBlock). The address
of the block-id is passed to TKSleep and stored in TCBSleepID. A thread
wakes when the kernel calls TKWakeup (or ProcRun) with a corresponding block-id.
All, zero or the highest priority thread blocked on the block-id will be
woken depending on parameter flags. This mechanism is used by most functions
and APIs that cause thread execution to be suspended, either for an event
or serialisation.
Examples are:
DosSleep
DosSemWait
DosWaitChild
DosRead
DevHlp_ProcBlock
Refer to the following for more detailed information
[Back: ]
[Next: ]