<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi all;<br>I guess there was a 1995 try to change that Runtime error into an exception (not sure if they succeed). Take a look at:<br>ftp://ftp.u-aizu.ac.jp/pub/lang/Modula/m3/pkg/contrib/whenNEWfails/src/<br>Please
be patient if the files don't appear when loading the web page (I tried
2 times to open that url with the source files). Hope this helps.<br>Thanks<br><br>--- El <b>mié, 4/2/09, Mika Nystrom <i><mika@async.caltech.edu></i></b> escribió:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">De: Mika Nystrom <mika@async.caltech.edu><br>Asunto: Re: [M3devel] elminating pthread_attr_t from cloned headers<br>Para: "Jay" <jay.krell@cornell.edu><br>CC: m3devel@elegosoft.com<br>Fecha: miércoles, 4 febrero, 2009 11:33<br><br><pre>Jay writes:<br>...<br>>I'll maybe review more code along these lines.<br>>I gather the general gist of things in Modula-3 though<br>>is that out of memory is fatal anyway. Raising an exception<br>>vs. failing an assertion probably not significantly different<br>>if the exception is not meant to be caught and isn't ever caught.<br>>(Strange though then the gymnastics I pointed out elsewhere<br>>converting one form of out
of memory to another form..)<br>...<br><br>Back in SRC days I remember there was a discussion at some length<br>about what to do in case of running out of memory. I think the<br>project was abandoned as people realized it was quite a tricky<br>problem...<br><br>I don't believe PM3 has out of memory exceptions, nor did SRC<br>M3...? It's a wild guess but maybe this has something to do with<br>the Critical Mass modifications for their JVM?<br><br> Mika<br></pre></blockquote></td></tr></table><br>