current errlog.c,1.123,1.124
Ian Silvester <[email protected]>
| Newsgroups | gmane.comp.web.privoxy.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10912
Modified Files:
errlog.c
Log Message:
Correct the comment regarding MACH thread id modification
Index: errlog.c
===================================================================
RCS file: /cvsroot/ijbswa/current/errlog.c,v
retrieving revision 1.123
retrieving revision 1.124
diff -C2 -d -r1.123 -r1.124
*** errlog.c 21 Jan 2016 13:02:10 -0000 1.123
--- errlog.c 21 Jan 2016 20:53:01 -0000 1.124
***************
*** 422,429 ****
#ifdef __MACH__
/*
! * Mac OSX (and perhaps other Mach instances) doesn't have a debuggable
! * value at the first 4 bytes of pthread_self()'s return value, a pthread_t.
! * pthread_t is supposed to be opaque... but it's fairly random, though, so
! * we make it mostly presentable.
*/
this_thread = labs(this_thread % 1000);
--- 422,429 ----
#ifdef __MACH__
/*
! * Mac OSX (and perhaps other Mach instances) doesn't have a unique
! * value at the lowest order 4 bytes of pthread_self()'s return value, a pthread_t.
! * pthread_t is supposed to be opaque... however it's fairly random.
! * The following will address these two issues to make it mostly presentable.
*/
this_thread = labs(this_thread % 1000);
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140