LuaLanes / lanes

Lanes is a lightweight, native, lazy evaluating multithreading library for Lua 5.1 to 5.4.
Other
465 stars 96 forks source link

pthread_create error with GitHub Actions #218

Closed QartemisT closed 1 year ago

QartemisT commented 1 year ago

With the latest release of lanes, there's exceptions being thrown by lanes;

src/threading.c 842: pthread_create() failed, 1 EPERM

This was not occuring before this last release.

It appears that this commit broke this; https://github.com/LuaLanes/lanes/commit/d73f4cee37b0a43edadf9709289798ee4bfccc0e

Mitalie commented 1 year ago

Not specific to GitHub Actions, but happens generally on Linux when built without -DLINUX_SCHED_RR and run as non-root: