SCOUG-Programming Mailing List Archives
Return to [ 26 |
October |
1999 ]
<< Previous Message <<
Content Type: text/plain
Peter Skye wrote:
> I wrote some test programs just now (Warp 4 FixPak 10), and they allow
> me to open a file in one program and, while the file remains open, open
> and read the file in another program. Thus, the files aren't locked
Ah, well I learnt something then! :-)
That's inconvenient for you though isn't it!
> while open. This may be specific to OS/2 and other platforms may lock
> the files while open.
Well, in a real language you can specify shared or not, and usually it is not by
default. Rexx must have decided to implement read-sharing as a default and only
behaviour.
> Mutexes were added in one of the FixPaks (I have them in FixPak 10 and
> they seem to work fine).
Well, yes they would work, but I don't think they will be automatically
destroyed if your program crashes (since there is no 'program' running, except
cmd.exe) unless you ran the Rexx script with a separate cmd.exe. AFAIK.
> I was hoping there would be some one-line solution. (
Don't we all!
Cheers
Aaron
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
Return to [ 26 |
October |
1999 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|