Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2021 (2)
20082026
  1. …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
  2. …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…
  3. …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... )
  4. …- https://code.google.com/p/chromium/issues/detail?id=269623 - https://github.com/wahern/cqueues/issues/56 - https://github.com/ziglang/zig/issues/2425
  5. …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…