lpereira / lwan

Experimental, scalable, high performance HTTP server
https://lwan.ws
GNU General Public License v2.0
5.94k stars 548 forks source link

setjmp/longjmp fallback for platforms without ucontext #242

Closed lpereira closed 1 year ago

lpereira commented 6 years ago

Some operating systems lack the deprecated ucontext.h header, which is used as the fallback method to implement coroutines on systems that are not i386 or x86_64. One example is OpenBSD: while it's fine on x86 systems (as, by default, its C compiler respects the SysV ABI, so the assembly routines can be used), Lwan can't be built in its ARM port.

mochechan commented 1 year ago

Lwan can't be built in its ARM port. So, do you mean that the Lwan cannot compiled in ARM, such as Raspberry PI, Jetson Nano?

lpereira commented 1 year ago

Oh, this issue should be closed! Lwan now supports ARM through libucontext.

On Sun, Dec 4, 2022, at 5:27 PM, Chan Mo-Che wrote:

Lwan can't be built in its ARM port. So, do you mean that the Lwan cannot compiled in ARM, such as Raspberry PI, Jetson Nano?

— Reply to this email directly, view it on GitHub https://github.com/lpereira/lwan/issues/242#issuecomment-1336599637, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADVGK5JKEQQQK5IQXDLFTWLVAIRANCNFSM4FR3RURQ. You are receiving this because you authored the thread.Message ID: @.***>