Location: Symbol Reference > Classes > TJwJobObject Class > TJwJobObject Methods > TJwJobObject.WaitForAllotedCPUTimeSignal Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwJobObject.WaitForAllotedCPUTimeSignal Method
Pascal
function WaitForAllotedCPUTimeSignal(const TimeOut: DWORD): TJwWaitState;
Parameters 
Description 
const TimeOut: DWORD 
Takes a timeout in mili seconds or INFINITE if no timeout.  

Returns wsSignaled if the job object was signled or wsTimeOut if the given timeout occured. Any other state results in a wsNonSignaled return value.

Waits on the job object with a possible timeout and returns the result of the waiting. 

 

Exceptions 
Description 
can be raised if the call to an winapi function failed. 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!