Commit 816cd0fa authored by thomas's avatar thomas
Browse files

*** empty log message ***

git-svn-id: 4d9ac71a-51e6-0310-8455-cad1006bcd31
parent da3d04c6
......@@ -36,8 +36,9 @@ bool flext_base::StartThread(void *(*meth)(thr_params *p),thr_params *p,char *me
pthread_t thrid;
if(pthread_create (&thrid,NULL,(void *(*)(void *))meth,p)) {
error("%s - Could not launch method!",methname);
int ret = pthread_create (&thrid,NULL,(void *(*)(void *))meth,p);
if(ret) {
error(ret == EAGAIN?"%s - Unsufficient resources to launch thread!":"%s - Could not launch method!",methname);
delete p;
return false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment