[M3devel] when CreateThread fails?
Tony Hosking
hosking at cs.purdue.edu
Mon Nov 2 19:00:35 CET 2009
On 2 Nov 2009, at 10:12, Jay K wrote:
> 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.
Either of these seems fine to me.
>
> - 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/dbc9524a/attachment-0002.html>
More information about the M3devel
mailing list