wahern/cqueues
View on GitHub ↗ ★ 282 C
Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix.
5 mentions on Hacker News by 2 people: 0 stories, 5 comments · first 2016-11-03 · latest 2021-05-20
20082026
-
…for use on macOS and stragglers like OpenBSD which at that time lacked pselect entirely. See https://github.com/wahern/cqueues/blob/87f14f9/src/cqueues.c... I can't remember if pselect has been fixed on macOS. The same approach could be…
comment by wahern · 2021-05-20 · in File Descriptor Limits -
…on the idea of "nurseries", independently and many years before the above were published. See https://github.com/wahern/cqueues It's nominally a non-blocking "threading" API for Lua. (In Lua coroutines are also called threads.) But note…
comment by wahern · 2021-02-13 · in Comparison of Rust async and Linux thread context switch time and memory use -
…the .sun_path path (if anything) used to bind or connect, but that's a more complex topic (see https://github.com/wahern/cqueues/blob/e3af1f63/PORTING.md#g... )
comment by wahern · 2020-04-14 · in Tell HN: C Experts Panel – Ask us anything about C -
…- https://code.google.com/p/chromium/issues/detail?id=269623 - https://github.com/wahern/cqueues/issues/56 - https://github.com/ziglang/zig/issues/2425
comment by daurnimator · 2019-06-19 · in EINTR and PC Loser-Ing: The “Worse Is Better” Case Study (2011) -
…return 0; } [1] FWIW, here's a correct implementation of pselect for macOS using kqueue. ( https://github.com/wahern/cqueues/blob/snap-20160812/src/cqu... ) The only caveat is that creating a kqueue descriptor might fail, and you don't…
comment by wahern · 2016-11-03 · in Darling – MacOS translation layer for Linux