Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
AsyncPeriodicUpdateThread::_waitForEventAndReset Method
Syntax
C++
virtual void _waitForEventAndReset();

Wait for an update event being triggered and immediately reset the event. 

@note Note that this must be an atomic operation to avoid a race condition. Immediately resetting the event shields us from event releases happening during us updating getting ignored.

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!