pmmp / ext-pmmpthread

Fork of https://github.com/krakjoe/pthreads with a revamped API and PHP 8.1+ support
Other
81 stars 17 forks source link

Thread::getCurrentThread() always returns NULL inside a shutdown function #68

Closed dktapps closed 1 year ago

dktapps commented 3 years ago

This causes some unusual side effects, such as code incorrectly believing that it's running on the main thread.