Message171017
If thread creation fails, for any reason, a ThreadError is returned with the error "can't start new thread".
No attempt is made to diagnose the issue.
In fact, for example, if we are out of resources, pthread_new() would have returned EAGAIN. This should perhaps rather be classified as an OSError so that users can catch this and diagnose it. ThreadError seems to be used otherwise exclusively to indicate problems with locking.
Can this be turned into an informative OSError, or is it to platform dependant for any sensible structured error handlng to be implemented? |
|
Date |
User |
Action |
Args |
2012-09-23 08:34:06 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson |
2012-09-23 08:34:06 | kristjan.jonsson | set | messageid: <1348389246.53.0.0663792895343.issue16003@psf.upfronthosting.co.za> |
2012-09-23 08:34:05 | kristjan.jonsson | link | issue16003 messages |
2012-09-23 08:34:04 | kristjan.jonsson | create | |
|