|
>Date: Thu, 01 Mar 2001 15:32:09 -0800 >From: Jim Langston <jimlangston@conexfreight.com> > >This type of locking has been used for a number of years for file >and record locking in a number of applications without any problems, >admittedly on PCs though. > ... >Then again, OS/400 has the system arbitrator just to handle this kind >of stuff. Are there any system APIs we can make to the Arbitrator to >set our own logical locks? Jim, I think you've been lucky, or maybe you've had occasional problems and not known what caused them. I'm not sure what you mean by the "system arbitrator" but semaphores and mutexes are two ways to handle your own locking (RPG IV uses mutexes to enforce THREAD(*SERIALIZE). Here's some documentation on AS/400 threads: http://publib.boulder.ibm.com/pubs/html/as400/ic2924/info/RZAHWM03.HTM Barbara Morris +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.