[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'System' (#rtl) |
Wait for an event.
Source position: line 0
procedure RTLeventWaitFor( |
state: PRTLEvent |
); |
state: PRTLEvent; |
timeout: LongInt |
); |
RTLeventWaitFor suspends the thread till the event occurs. The event will occur when another thread calls RTLEventSetEvent on State.
By default, the thread will be suspended indefinitely. However, if TimeOut is specified, then the thread will resume after timeout milliseconds have elapsed.
|
Create a new RTL event |
|
|
Destroy a RTL Event |
|
|
Notify threads of the event. |
|
|
Wait for an event. |
No notes exist for this page yet.