Releases a region object for use by another thread.
BOOLEAN ReleaseRtControl(VOID);
If the thread is in control of more than one region, ReleaseRtControl releases control of the most recently accessed region. Once control is released, the OS enables the next thread in line to gain access to the released region.
If the calling thread has had its priority boosted through access to a region, its priority is restored only when it gives up control of the last region. It is not sufficient to give up control of the region that raised the priority, if the thread controls other regions.
TRUE
FALSE
E_OK 0x0000
E_CONTEXT 0x0005
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |