[m-rev.] for review: Report more specific error messages when thread.spawn_native fails.

Julien Fischer jfischer at opturion.com
Thu Apr 26 09:34:23 AEST 2018


Hi Peter,

On Tue, 24 Apr 2018, Peter Wang wrote:

> library/thread.m:
>    Return error message for errno when pthread_create() fails
>    in thread.spawn_native.
>
>    Return the exception message when thread creation fails in C#.
>    Catch System.SystemException as that is seen in practice with mono
>    (might not be documented).
>
>    Return the exception message when thread creation fails in Java.
>    Catch SecurityException (as documented) and OutOfMemoryError
>    (seen in practice).

That's fine.

Julien.


More information about the reviews mailing list