Deletes a region object.
BOOLEAN DeleteRtRegion(
RTHANDLE hRegion
);
hRegionIf a thread with access to the region tries to delete the region, the thread receives an E_CONTEXT status code. If a thread requests deletion while another thread has access, deletion does not occur until access is surrendered.
A deadlock can occur when two or more threads request deletion of a region that another thread has access to, or when a thread tries to delete another thread that is trying to delete an occupied region. When the region is deleted, any waiting threads awaken with an E_EXIST exceptional condition.
TRUEFALSEE_OK 0x0000E_CONTEXT 0x0005E_EXIST 0x0006hRegion.E_TYPE 0x8002hRegion is not a region handle.| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |