Re: LOCK question


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Robert G Laurin on August 26, 2008 at 06:01:44:

In Reply to: Re: LOCK question posted by Jim Guerber on August 25, 2008 at 18:16:31:

"We will make the lock persistent such that the only way to unlock a file is to either issue an unlock or close the file on the last LUN which has it open."

I hope this is true ONLY for the original program and not the ENTERed program. The current behavior of Comet allows for a CLOSE ALL with no effect on the original program.

So if an ENTERed program need to access the LOCKed file, then it is up to the programmer to make sure the LUN stays opened (inherited) otherwise if it closes it then it loses access to it. But the LOCK should remain.

The only exception I can think of rigth now, is an EXIT ALL that should close & unlock all open files for each ENTERLEVEL.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]