Photon v0.12.1 with 50% faster eventloop
GL
gleb.tsk at gmail.com
Wed Sep 10 17:27:26 UTC 2025
On Wednesday, 13 August 2025 at 13:28:26 UTC, Dmitry Olshansky
wrote:
> I need to think a little more about it but I would likely ship
> it in the next release. Soonish :)
zmq seems to be working, thank you.
Now I'm trying to write a more meaningful piece of code with zmq.
I'll report on the results.
But about the latest version...
(gdb) run
Starting program: ls589d
Missing separate debuginfo for /lib64/libgcc_s.so.1.
Try to install the hash file
/usr/lib/debug/.build-id/7d/4235a17cb9325208546a9d570ef4c539578f80.debug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00005555555fd679 in core.thread.fiber.Fiber.yield() ()
(gdb) bt
#0 0x00005555555fd679 in core.thread.fiber.Fiber.yield() ()
#1 0x00005555555842d5 in
_D6photon7reactor__T5delayTS4core4time8DurationZQBcFNbNeQBdZv
(req=...)
at .dub/packages/photon/0.14.2/photon/src/photon/reactor.d:368
#2 0x000055555558adb7 in _D8businessQj8Business3runMFZv
(this=0x7ffff7b8e060) at source/business/business.d:55
#3 0x000055555558be9a in _Dmain () at source/app.d:54
Actual code is:
void run() {
goOnSameThread(&runner);
photon.delay(300.msecs); // <<=== fails here
}
0.12.2 works well.
More information about the Digitalmars-d-announce
mailing list