Table of Contents
tile_SetLockDescriptionDepending on the function arguments, this function:
Function prototypebool CExtAPI::tile_SetLock(void* hTile, bool LockState); Arguments
Return valueFalse if an error occurred, and true otherwise. CommentsInfinite loopsDo not call SetLock in a file format plugin when loading/saving a mosaic tile, as SetLock may load/save the tile in question, which calls your function again, and we have a recursive infinite loop. Unlocking tilesTiles are not automatically unloaded when SetLock is called with a LockState argument of false, as different threads/plugins may have locks on the same tile. Calling SetLock with a LockState of false will not release these other locks. Only unlock tiles that you have lockedTitle says it all. Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|