mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-17 09:30:41 +02:00
SET_THREAD_NAME for easier MSVC debugging
git-svn-id: file:///home/jj/hercules.svn/trunk@3555 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
@@ -424,6 +424,8 @@ static void *http_request(int sock)
|
||||
CGITAB *cgient;
|
||||
int content_length = 0;
|
||||
|
||||
SET_THREAD_NAME(-1,"http_request");
|
||||
|
||||
if(!(webblk = malloc(sizeof(WEBBLK))))
|
||||
http_exit(webblk);
|
||||
|
||||
@@ -585,6 +587,8 @@ TID httptid; /* Negotiation thread id */
|
||||
|
||||
UNREFERENCED(arg);
|
||||
|
||||
SET_THREAD_NAME(-1,"http_server");
|
||||
|
||||
/* Display thread started message on control panel */
|
||||
logmsg (_("HHCHT001I HTTP listener thread started: "
|
||||
"tid="TIDPAT", pid=%d\n"),
|
||||
|
||||
Reference in New Issue
Block a user