Difference between revisions of "NET:LavishVMAPI.Frame.Wait"

From Lavish Software Wiki
Jump to navigation Jump to search
 
m (NET:LavishVMAPI.Frame.FrameWait moved to NET:LavishVMAPI.Frame.Wait)
(No difference)

Revision as of 18:18, 19 January 2007

Overview

See Frame Locking.

FrameWait causes a thread to yield execution until the next frame begins. Retaining a frame lock following a call to FrameWait is optional, via the bLock parameter. If lock is retained, there must be one unlock call per successful lock call. FrameWait should not be used in a thread that already has frame lock acquired, as this results in deadlock (it is logically impossible).

Reference Library

Lavish.InnerSpace.dll

Fully Qualified Name

LavishVMAPI.Frame.FrameWait

Declaration

static public void FrameWait(bool bLock);

Parameters

  • [In] bool bLock
If true, retains an acquired frame lock. If false, the implicit frame lock is released.

Return Value

None

Examples

See Also