[Casa-framework] Hanging on file locks

David King dking at nrao.edu
Fri Feb 23 11:57:48 EST 2007


Ger.VanDiepen at csiro.au wrote:
> Note that in glish an automatic unlock was only done if the system was
> idle for a while (i.e. had not received a command from glish). Thus
> effectively it could only happen in interactive mode.

I agree that a 5-second idle timer in python for relinquishAutoLocks (as in 
aips++) would be slightly safer, if one could be installed easily.  Doing it 
just before returning to the console is almost the same (as opposed to the 
next, possibly scripted, python command), though I'm also not sure if it's 
easy to tell if you're about to return to console input -- may be in the 
guts of python...


More information about the Casa-framework mailing list