|NRAO Home > CASA > CASA Toolkit Reference Manual||
image.unlock - Function
1.1.1 Release any lock on the image
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.
print "\t----\t unlock Ex 1 \t----"
ia.fromarray(’xx’, ia.makearray(0,[10,20]), overwrite=true)
This releases the write lock on the \imagefile. Now some
other process can gain immediate access to the \imagefile.
More information about CASA may be found at the CASA web page
Copyright © 2016 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense