You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lib+driver+common: Support platforms with no threading
I was experimenting with getting c-ray to run on Tilck[1], and ran into
issues when c-ray ignored errors coming from pthread_create(3). Now both
the thread pool and other users fall back to performing work on the main
thread synchronously, should starting a thread fail.
A new macro exists in thread.h to simulate this case on a system with
threading support: CR_SIMULATE_NOTHREADS
[1] https://github.com/vvaltchev/tilck
0 commit comments