[M3devel] when CreateThread fails?

Jay K jay.krell at cornell.edu
Mon Nov 2 16:12:51 CET 2009


How about:

 

RuntimeError.i3:

 

    SystemError,            (* a low-level OS or machine error occurred *)

?

 

I could also see:

    OutOfMemory,            (* NEW() was unable to allocate more memory. *)


since that is probably the only possible reason.

 

 - Jay
 


CC: m3devel at elegosoft.com
From: hosking at cs.purdue.edu
To: jay.krell at cornell.edu
Subject: Re: [M3devel] when CreateThread fails?
Date: Mon, 2 Nov 2009 10:08:46 -0500





No, that would smear the interfaces.  The thread system should be standalone of libm3.


On 2 Nov 2009, at 09:32, Jay K wrote:

It seems to me that when Fork() fails because CreateThread fails, it should use OSError.Raise(), but the Fork is in m3core and OSError is in libm3. Move it to m3core?
(and OSError uses Atom.i3, also in libm3)
 
 - Jay






 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20091102/32110be5/attachment-0002.html>


More information about the M3devel mailing list