[M3commit] CVS Update: cm3

Jay K jay.krell at cornell.edu
Sun Jan 9 01:32:11 CET 2011


Oops, good catch on the leak, and I'll try that now.

 - Jay

----------------------------------------
> From: hosking at cs.purdue.edu
> Date: Sat, 8 Jan 2011 19:17:30 -0500
> To: jkrell at elego.de
> CC: m3commit at elegosoft.com
> Subject: Re: [M3commit] CVS Update: cm3
>
> That's not quite the fix I envisioned: I was thinking you should reorder things in AtForkPrepare.
>
> Note there is now a space leak if RegisterFinalCleanup fails with an exception (it can raise out of memory).
>
> On Jan 8, 2011, at 6:01 AM, Jay Krell wrote:
>
> > CVSROOT: /usr/cvs
> > Changes by: jkrell at birch. 11/01/08 06:01:20
> >
> > Modified files:
> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3
> >
> > Log message:
> > leave initMu before calling RegisterFinalCleanup, to avoid deadlock
> > with AtForkPrepare
>
 		 	   		  


More information about the M3commit mailing list