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:
Fish (David B Trout)
2005-12-31 20:01:59 +00:00
parent f88c4a4ac9
commit e219ebea50
26 changed files with 165 additions and 6 deletions

View File

@@ -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"),