From: Alexandre F. <ale...@gm...> - 2008-05-18 22:24:46
|
Hi Zoran and Donal, I have followed Zoran's advice and read thoroughly that heated discussion about simply overwriting mutexes with PTHREAD_STATIC_INITIALIZER, in January 2005. (it was not easy to follow, message threading being half-broken in the archive, not to mention the reversed arrow of time: "Previous" points to later messages...). I am now well aware of the details of this discussion, and follow Donal in his "yielding" to the view that pt_atfork is needed in order to "mass-lock" the mutexes in order to get a consistent data state, as explained on January 20th 2005: http://aspn.activestate.com/ASPN/Mail/Message/tcl-core/2394702 Now, what I don't get is why is this method confined to the OSX port and not generalized to other unices ? -Alex |