umm ya, the thread stack size is in bytes not kbytes

This commit is contained in:
Anthony Minessale
2011-12-20 17:14:38 -06:00
parent 239094e49c
commit dfb2dfd29e
2 changed files with 9 additions and 2 deletions

View File

@@ -1357,7 +1357,12 @@ int main(int argc, char *argv[])
}
global_handle = &handle;
global_profile = profile;
esl_thread_create_detached(msg_thread_run, &handle);
if (esl_thread_create_detached(msg_thread_run, &handle) != ESL_SUCCESS) {
printf("Error starting thread!\n");
esl_disconnect(&handle);
return 0;
}
#ifdef HAVE_EDITLINE
el = el_init(__FILE__, stdin, stdout, stderr);