Forum

> > Off Topic > LuaJIT multithreading
Forums overviewOff Topic overviewLog in to reply

English LuaJIT multithreading

8 replies
To the start Previous 1 Next To the start

old LuaJIT multithreading

Starkkz
Moderator Off Offline

Quote
Hello, I've been looking for about a month a module for LuaJIT that provides multithreading support (Linux + Windows), I haven't managed to make my own because it seemed too complicated. I'm not going to use Lua lanes or any kind of similar module that needs a .dll or .so because libraries simply aren't supported everywhere, so I just need a FFI based multithreading library. Has anyone made a multithreading library for LuaJIT or either has one that I could use and does not require any dll/so?

old Re: LuaJIT multithreading

Starkkz
Moderator Off Offline

Quote
@user MikuAuahDark: Yeah, that went to my mind. But I couldn't start after seeing how many lines of code it had, it might be easier to make a Windows pthread wrapper than rewriting the entire Lua lanes, I guess.

old Re: LuaJIT multithreading

Starkkz
Moderator Off Offline

Quote
@user DannyDeth: yeah, turns out that there's no pthreads port for LuaJIT anywhere on the internet. Thank you for your help anyway!

In addition to the thread: I'm going to rewrite pthread.h for Windows, but I can't do this all alone because the code seems to be heavy. Would anyone like to help me to rewrite it in a collaborative scripting environment? (In a Cloud9 IDE workspace)
To the start Previous 1 Next To the start
Log in to replyOff Topic overviewForums overview