L3DT documentation
Large 3D terrain generator

zmap_SetBusyFlag

Description

Mark a map to be 'busy', typically meaning the map is in use by a calculation. Maps that are marked busy cannot be deallocated by zmap_Free.

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zmap_SetBusyFlag(ZMAP hMap, bool BusyFlag);

Arguments

Name Type Comment
hMap ZMAP A ZMAP handle to a map variable, the busy flag of which is to be set.
BusyFlag bool The desired state of the busy flag.

Return value

False if:

  • hMap does not point to a valid map variable.
  • The map is not allocated.
  • BusyFlag is true, but the map is already marked as busy (see zmap_GetBusyFlag).
  • An unspecified error occurred.

True otherwise.

Comments

None.

 
zeolite/functions/zmap_setbusyflag.txt · Last modified: 2017/08/31 04:20 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki