#include <MTmgr.hh>
Inheritance diagram for RazorBack::MTmgrexc_:
Public Methods | |
MTmgrexc_ (const char *Thnm, int Tno, int Eno, bool F=false) | |
Constructs an exception that is thrown by the method called Thnm, the index of the offending thread is in Tno, the errno value is in Eno. More... | |
int | thread_idx () const |
Returns the index of the thread that caused trouble. | |
int | err_no () const |
Returns the errno that caused the exception. | |
Private Methods | |
MTmgrexc_ () | |
Private Attributes | |
int | Errno |
stores the errno variable from <errno.h>. | |
int | Threadno |
stores the idx of the thread that caused trouble. |
Gets thrown when for some reason the threads could not be started. Stores the errno value set by the POSIX thread routines.
Definition at line 246 of file MTmgr.hh.
|
Constructs an exception that is thrown by the method called Thnm, the index of the offending thread is in Tno, the errno value is in Eno. F, the fatality indicator, is false by default (ie. only a warning is issued) |
|
|
|
Returns the index of the thread that caused trouble.
|
|
Returns the errno that caused the exception.
|
|
stores the errno variable from <errno.h>.
|
|
stores the idx of the thread that caused trouble.
|