I’m in a situation where calling join() on a boost::thread object throws a thread_resource_error exception. Looking at the documentation there is no mention of that this method could throw such an exception.
I’m not quite sure where to start debugging this. Any suggestions as to what could cause this?
Looking at the boost source code I found the following:
So basically it has some undocumented behavior where it throws a
thread_resource_errorif a thread tries to join itself.