Location: Symbol Reference > Functions > JwSetThreadName Function
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
JwSetThreadName Function
Pascal
procedure JwSetThreadName(const Name: TJwString; const ThreadID: Cardinal = Cardinal(-1));
Parameters 
Description 
const Name: TJwString 
defines an name for the thread. This Name is converted to ansicode internally.  
const ThreadID: Cardinal = Cardinal(-1) 
defines which thread is named. A value of Cardinal(-1) uses the current thread
source http://msdn2.microsoft.com/en-us/library/xcb2z8hs(vs.71).aspx 

JwSetThreadName names a thread. A debugger can use this name to display a human readably identifier for a thread. JwSetThreadName must be called without using parameter ThreadID as a precondition to use JwGetThreadName

 

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!