As in the title. Machine should provide a way of extracting return values from finished threads.
If an exception has been thrown but has not been handled in the child thread, extracting return value would rethrow it inside parent thread.
To prevent the exception from being rethrown user can send the terminated/1 message to a thread to check if it has been terminated.
As in the title. Machine should provide a way of extracting return values from finished threads.
If an exception has been thrown but has not been handled in the child thread, extracting return value would rethrow it inside parent thread. To prevent the exception from being rethrown user can send the
terminated/1
message to a thread to check if it has been terminated.