View Issue Details

IDProjectCategoryView StatusLast Update
0001687XdebugStep Debuggingpublic2019-07-25 14:19
Reporterderick Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version2.8.0devFixed in Version2.8.0beta1 
Summary0001687: Use appropriate process ID for logging and "is this the right process" tracking
Description

With ZTS enabled, getpid() does not necessarily return a useful number, and pthread_self() should be used.
On Windows, or GetCurrentThreadId() should be used instead of getpid().

TagsNo tags attached.
Operating System
PHP Version7.3.5-7.3.9

Relationships

related to 0001681 resolvedderick Reduce cost of getpid() syscall to once per request/thread/process 

Activities

derick

2019-07-19 14:02

administrator   ~0005078

Fixed in GIT. Thanks to Joe Watkins for the initial patch