Photon v0.10.2 with shutdown fix

Dmitry Olshansky dmitry.olsh at gmail.com
Mon Oct 14 16:18:38 UTC 2024


On Monday, 14 October 2024 at 16:17:29 UTC, Dmitry Olshansky 
wrote:
> 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.

https://code.dlang.org/packages/photon

> 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