QuickJS-Windows-Build icon indicating copy to clipboard operation
QuickJS-Windows-Build copied to clipboard

Ship builds with os.Worker support

Open JerwuQu opened this issue 3 years ago • 1 comments

Since already building with MinGW and pthreads, perhaps os.Worker could be supported?

Adding -DUSE_WORKER and a macro for pipe like #define pipe(fds) _pipe(fds, 4096, _O_BINARY) seems to do it.

JerwuQu avatar Mar 29 '22 18:03 JerwuQu

Since already building with MinGW and pthreads, perhaps os.Worker could be supported?

Adding -DUSE_WORKER and a macro for pipe like #define pipe(fds) _pipe(fds, 4096, _O_BINARY) seems to do it.

I tried to do what you advised. While it compiles successfully, the worker just doesn't work (no errors, it just doesn't work)

vaguinerg avatar Feb 27 '23 12:02 vaguinerg