Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: image.view - Function Up: image - Tool Previous: image.toworld - Function


image.unlock - Function



Package general
Module images
Tool image


Release any lock on the image


Synopsis
unlock()



Description

This function releases any lock set on the image file (and also flushes any outstanding I/O to disk). It is not of general user interest. It can be useful in scripts when a file is being shared between more than one process. See also functions lock and haslock.



Example
- im := imagefromarray('xx', array(0,10,20))
- im.unlock()

This releases the write lock on the image file. Now some other process can gain immediate access to the image file.





next up previous contents index
Next: image.view - Function Up: image - Tool Previous: image.toworld - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01