Photon v0.10.2 with shutdown fix

Dmitry Olshansky dmitry.olsh at gmail.com
Mon Oct 14 16:17:29 UTC 2024


Photon is a minimalistic multi-threaded fiber scheduler and event 
loop that works transparently with traditional blocking I/O 
C/C++/D/Rust libraries w/o degrading performance.  Think of it as 
Golang style concurrency that is brought to D transparently.

All Linux/OSX versions of Photon up to v0.10.0 had a bug in 
creation of event loop thread, by mistake thread_id was 
overwritten by error code of pthread_create. Some libc use 
pointers as tid therefore causing prompt crash on exit, others 
(glibc) failed harmlessly.

Thanks to the Russian D language community for bringing up the 
issue.

---
Dmitry Olshansky
CEO @ [Glow Labs](https://glow-labs.pro)
https://olshansky.me/about/


More information about the Digitalmars-d-announce mailing list