Forum

> > Off Topic > LuaJIT multithreading
ForenübersichtOff Topic-ÜbersichtEinloggen, um zu antworten

Englisch LuaJIT multithreading

8 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt LuaJIT multithreading

Starkkz
Moderator Off Offline

Zitieren
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?

alt Re: LuaJIT multithreading

Starkkz
Moderator Off Offline

Zitieren
@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.

alt Re: LuaJIT multithreading

Starkkz
Moderator Off Offline

Zitieren
@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)
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenOff Topic-ÜbersichtForenübersicht