View Revisions: Issue #1681

Summary 0001681: Reduce cost of getpid() syscall to once per request/thread/process
Revision 2019-07-19 12:15 by derick
Description getpid() is expensive, and should only be called once per request

Original PR: https://github.com/xdebug/xdebug/pull/487, by Joe Watkins
Revision 2019-07-10 12:48 by krakjoe
Description getpid is expensive, and should only be called once per request, in addition, in zts where getpid does not necessarily return a useful number, pthread_self() should be used (or GetCurrentThreadId on windoze).