This does not use the same semaphores that SysMutexSemaphore uses, it uses the same abstraction classes that the interpreter uses internally. If those don't work, then the testsuite would be falling over all over the place. The line that's hanging is the first line that uses the replacement pthread_mutex_lockedwait() function, so this function just needs a little debugging. I'm going to be a bit busy today, but when I get a chance, I'll see if I can reproduce the hang in scaffold mold on Ubuntu, but if you can provide any debugging information before that it would be helpful. The function is located in the unix/SysSemaphore.cpp file.
Rick On Sat, Mar 9, 2019 at 9:33 AM Enrico Sorichetti via Oorexx-devel < oorexx-devel@lists.sourceforge.net> wrote: > OOPS … > I had forgotten to run svn update for the test-suite > > The ooRexx/base/class/MutexSemaphore.testGroup > > Hangs on statement 72 > > IMO the test group should not be run on Darwin, > The documentation is clear, unnamed semaphores are not supported > > E > > > > On 9 Mar 2019, at 13:04, Enrico Sorichetti <enricosoriche...@mac.com> > wrote: > > Thank You Rick, > It builds and runs the testsuite > E > > > On 9 Mar 2019, at 12:45, Rick McGuire <object.r...@gmail.com> wrote: > > I found some code that can be used as a replacement for > pthread_mutex_timedlock if it is not available. This builds cleanly for me > on Ubuntu in "fake out" mode. Please try building with the latest version > to verify it builds. > > Rick > > > > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel >
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel