lf-lang / reactor-c

A reactor runtime written in C
Other
10 stars 23 forks source link

Run one worker on main thread #437

Closed sberkun closed 1 month ago

sberkun commented 1 month ago

Replaces #375

Runs a worker on the main thread, allowing number of workers to equal number of cores. This is important for the RP2040 and FlexPRET.

As a followup to this, the CMake check for flexpret should be adjusted so that it allows workers=threads rather than workers=threads-1.