Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Latest commit

 

History

History
12 lines (9 loc) · 411 Bytes

readme.md

File metadata and controls

12 lines (9 loc) · 411 Bytes

LuaJIT Threads

A library for LuaJIT to spawn separate threads that run Lua code.

The library uses LuaJIT's FFI as much as it can, however some C code it neccessary to start the thread's main function.

Files are:

  • threads.lua: The main library file. Contains primitive types such as Threads and mutexes
  • luajitthreads.c: A small bit of neccessary C code.
  • test.lua: Test code