> > Curious .. I use mutex in Rexx (mostly to protect .ini file > > updates in > > Windows and Linux, mostly Windows) and have had occasional failures > > that appeared to be due to some kind of corruption. Could this > > problem be related ... i.e., mutexes not working as expected? > > > > If you mean by corruption that your ini file was corrupted > then I would say this is related. At least when this is > Linux. I cannot speak for Windows as I do not use Windows. > > Currently, if e.g. you call SysCreateMutexSem() from > different scripts for the same semaphore then you would > expect the second invocation of > SysCreateMutexSem() to fail. But it doesn't. This could cause > havoc to your inifile.
OK, just skimmed the code -- I'm only using SysCreateMutexSem() once (on startup -- I hope, will double-check that tomorrow) .. the number returned from that is then used in multiple threads at a later time. Which is as intended, I think. Mike ------------------------------------------------------------------------------ The Windows 8 Center In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
