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

From Lavish Software Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
See [[NET:Concepts:Frame Locking|Frame Locking]].
 
See [[NET:Concepts:Frame Locking|Frame Locking]].
  
FrameLock acquires a non-exclusive lock on the current frame, such that the frame will not complete until the lock is released via  
+
Lock acquires a non-exclusive lock on the current frame, such that the frame will not complete until the lock is released via  
[[NET:LavishVMAPI.Frame.FrameUnlock|FrameUnlock]].  This also ensures that the host application (e.g. game) is not making modifications to relevant game objects.
+
[[NET:LavishVMAPI.Frame.Unlock|Unlock]].  This also ensures that the host application (e.g. game) is not making modifications to relevant game objects.
  
 
There must be one unlock call per lock call.
 
There must be one unlock call per lock call.
Line 11: Line 11:
  
 
=== Fully Qualified Name ===
 
=== Fully Qualified Name ===
; LavishVMAPI.Frame.FrameLock
+
; LavishVMAPI.Frame.Lock
 
*[[NET:Lavish.InnerSpace.dll#LavishVMAPI_namespace|LavishVMAPI namespace]]
 
*[[NET:Lavish.InnerSpace.dll#LavishVMAPI_namespace|LavishVMAPI namespace]]
 
** [[NET:Lavish.InnerSpace.dll#Frame|Frame class]]
 
** [[NET:Lavish.InnerSpace.dll#Frame|Frame class]]
*** FrameLock function
+
*** Lock function
  
 
== Declaration ==
 
== Declaration ==
  static public void FrameLock();
+
  static public void Lock();
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 18:20, 19 January 2007

Overview

See Frame Locking.

Lock acquires a non-exclusive lock on the current frame, such that the frame will not complete until the lock is released via Unlock. This also ensures that the host application (e.g. game) is not making modifications to relevant game objects.

There must be one unlock call per lock call.

Reference Library

Lavish.InnerSpace.dll

Fully Qualified Name

LavishVMAPI.Frame.Lock

Declaration

static public void Lock();

Parameters

None

Return Value

None

Examples

See Also