On Mon, 2010-03-01 at 07:42 +1100, Angus Salkeld wrote: > On Thu, 2010-02-25 at 18:01 -0700, Steven Dake wrote: > > great work > > > > comments inline > >
Committed as revision 2669. -Angus > > On Fri, 2010-02-26 at 11:49 +1100, Angus Salkeld wrote: > > > Hi > > > > > > This patch is to try and prevent people putting in thread unsafe calls > > > into the code. > > > > > > A couple of functions (getenv,setenv,..) can result in either a call to a > > > new version or the clib version > > > depending on if tsafe_on() has been called. It helps you by catching > > > pthread_create() and fork() > > > and turning tsafe on after a pthread_create() call and turning tsafe off > > > after a call to fork(). > > > > > > All the other functions call assert(0), if more of these need to be > > > capable of been turned > > > on then please tell me. > > > > > > This is just an initial post I need to test the setenv/getenv function > > > some more. > > > > > > -Angus > > > > > > Oops, forgot the patch... > _______________________________________________ > Openais mailing list > Openais@lists.linux-foundation.org > https://lists.linux-foundation.org/mailman/listinfo/openais _______________________________________________ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais