Standard messages for thread error handling + error handling when a

thread is started


git-svn-id: file:///home/jj/hercules.svn/trunk@5857 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
Bernard van der Helm
2010-04-20 13:55:05 +00:00
parent 2811bc6b9b
commit 752cbbd080
27 changed files with 188 additions and 111 deletions

View File

@@ -265,7 +265,9 @@ DLL_EXPORT int ptt_cmd(int argc, char *argv[], char* cmdline)
{
obtain_lock (&ptttolock);
ptttotid = 0;
create_thread (&ptttotid, NULL, ptt_timeout, NULL, "ptt_timeout");
rc = create_thread (&ptttotid, NULL, ptt_timeout, NULL, "ptt_timeout");
if (rc)
WRMSG(HHC00102, "E", strerror(rc));
release_lock (&ptttolock);
}
}