> I finally got a chance to take a look at this issue and it turned out to > be as you suspected in the PR comments. The assumed Posix layout of the > pthread_mutex_t does not match that used by Darwin. I wonder, in passing > how the 64b implementations happen to work (and also if there are any > other pthread layout cases I should audit).
Sorry about that. No, the very idea of the change was to have a single place where RTS_Lock is defined (preferably correctly of course). > Tested on i686-darwin9, 17; x86_64-darwin17,23,24, > OK for trunk and 15? Sure, thanks for fixing the problem! -- Eric Botcazou
