I found an error in SysOpenMutexSem under Linux.

When getting a handle from SysOpenMutexSem the next call using that
handle gives a segmentation fault.

I think that the last statement in SysOpenMutexSem must be
  return context->Uintptr((uintptr_t)semdata);
instead of
  return (uintptr_t)semdata->handle;

This implies that 
   RexxRoutine1(uintptr_t, SysOpenMutexSem, CSTRING, name)
must be changed to
   RexxRoutine1(RexxObjectPtr, SysOpenMutexSem, CSTRING, name)
 
 
I tested my fix and it worked fine. 



-- 
Manfred

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to