API Reference > OdApc Classes > OdApcGateway Class > OdApcGateway Methods > OdApcGateway::lockByMain Method
OdApcGateway::lockByMain Method
Syntax
C++
virtual void lockByMain(OdUInt32 numThreads) = 0;

Controlled thread locks while passing through check point. When specified number of controlled threads enters sync point, event is triggered. See OdApcSyncPoint::wait().

Copyright © 2002–2020. Open Design Alliance. All rights reserved.