Threading on Linux

Miscellaneous Forums/Linux Discussion/Threading on Linux

For MacOS only somewhat small must be changed:

Import "-std=c99" ' <-- here, Import "-lpthread" it does not give...
Import "linthread.c"

Extern
   Function CreateThread(threadfunction())="bmx_createthread"
EndExtern


Save this as macthread.bmx

And add the following lines in thread.bmx:

?macos
macthread.bmx
?


Build modules... thats all...