I've never tried doing a simultaneous restore from a save file going after
two different objects.
I'm now wondering if that would work or not.
Something to test when there's time. It would need to take longer to do the
restore than the object lock wait time on the save file for it to be a valid
test......
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of David
Gibbs via MIDRANGE-L
Sent: Monday, August 2, 2021 11:16 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: David Gibbs <david@xxxxxxxxxxxx>
Subject: Re: Save file exclusively locked when displaying?
On 8/2/21 10:19 AM, Rob Berendt wrote:
Why know why? To decide if you can still view it and not lock it?
Idle curiosity, mostly.
If it didn't lock it, it would freak me out if the contents of DSPSAVF
suddenly changed while I was paging through it.
Well, actually, no. That's not valid at all.
A save file (or any file / part of a file) should be locked when it's being
updated, not when it's being viewed.
So saving to a save file should lock the object exclusively ... and error
out if it can't get the exclusive lock.
Displaying, or reading (in the case of a transfer), should NOT lock a save
file because it's not being changed.
david
--
I'm riding in the American Diabetes Association's Tour de Cure to raise
money for diabetes research, education, advocacy, and awareness. You can
make a tax-deductible donation to my ride by visiting
https://mideml.diabetessucks.net.
You can see where my donations come from by visiting my interactive donation
map ...
https://mideml.diabetessucks.net/map (it's a geeky thing).
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.