pmmp / ext-pmmpthread

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

Runnable not marked as terminated if an exception handler handled an uncaught exception #123

Closed dktapps closed 1 year ago

dktapps commented 1 year ago

Even if an exception handler is called, the run() will still be terminated, so objects should always be marked with PMMPTHREAD_MONITOR_ERROR, regardless of whether an exception handler was used.