Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdApcDataReadWriteDispatcher::lock Method
Syntax
C++
virtual void lock() = 0;
  1. Locks the entrance.
  2. Waits until all threads exit read state.
  3. Returns.

IMPORTANT: If calling thread calls enter() without leave(), it should call lockFromInside() to be not deadlocked.

Copyright © 2002-2022. Open Design Alliance All rights reserved.