Location: Symbol Reference > Classes > TJwJobObject Class > TJwJobObject Methods > TJwJobObject.ResetIOThread Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwJobObject.ResetIOThread Method
Pascal
procedure ResetIOThread(const Force: Boolean);
Parameters 
Description 
const Force: Boolean 
defines whether the currenct IO thread should be forcibly terminated and restarted. If true the thread is shutdown and a new thread is created. However the IO port is not replaced. In fact there is no way to reassign a new port to the existing job object. If the parameter Force is set to false, the thread is only reset if it is not running. 

ResetIOThread resets the internal IO completition thread. This thread is necessary for triggering OnNotification and OnNoActiveProcesses.

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!