IrDA Framework
ContentsIndexHome
PreviousUpNext
TwclThread.Signal Method

Posts signal to the Thread.

Syntax
Pascal
function Signal(const Id: ULONG_PTR): Integer;
Parameters 
Description 
const Id: ULONG_PTR 
The user defined Signal ID.  

If the function succeed the returns value is WCL_E_SUCCESS. Otherwise the function returns one of the WCL error codes.

The signal is posted to the thread. That means that the method does not wait when the Thread receive and processs the signal. Also the method can not know if thread processed the signal.

Copyright (c) 2006-2018. All rights reserved.