Location: Symbol Reference > Classes > TJwAutoLock Class > TJwAutoLock.Create Constructor
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwAutoLock.Create Constructor
Pascal
constructor Create(const AutoPointer: TJwAutoPointerImpl);
Parameters 
Description 
const AutoPointer: TJwAutoPointerImpl 
This parameter defines an auto pointer implementation that holds the thread section for exclusive access to the resource. 

Create creates a new TJwAutoLock instance and enters the a thread safe section defined by parameter AutoPointer. If this section was already entered by another thread, the constructor is blocked until released. There is no timeout! 

 

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!