mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-21 03:12:58 +02:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user