httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39737] - LogFormat "%{tid}P" reports wrong thread id on Windows
Date Mon, 31 Dec 2007 06:26:23 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39737>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39737





------- Additional Comments From wrowe@apache.org  2007-12-30 22:26 -------
You are absolutely correct; the thread id and not its handle should be recorded.

I should think calling gettid() (corresponding to the getpid call in
ap_append_pid) where available would have been the "proper" implementation.

Patches welcome (gettid detection for unix is, of course, required).

One ponders why ap_append_tid wasn't implemented ;-)  (Appending, say, nothing
on a non-threaded architecture).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message