Syntax
VM_SIGNAL_RESULT vm_signal_timed_wait(
    VM_SIGNAL_ID signal_id, 
    VMUINT32 time_out
);
ContentsIndex
PreviousUpNext
vm_signal_timed_wait
Syntax
VM_SIGNAL_RESULT vm_signal_timed_wait(
    VM_SIGNAL_ID signal_id, 
    VMUINT32 time_out
);
Description

Waits on a signal. If the signal is not set, the thread will be blocked. When the other thread posts the signal, the waiting threads will be waken up. This API should be used in the threads spawned from vm_thread_create(). If the time out has been reached and the signal is posted yet, the waiting thread will resume the execution.

Parameters
Parameters 
Description 
VM_SIGNAL_ID signal_id 
[IN] The ID of the signal the calling thread will be waiting on. 
VMUINT32 time_out 
[IN] The maximum wait time in microsecond. 
Returns
File

vmthread.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.