Skip to content

Library for running Lua code in a separate thread with LuaJIT

Notifications You must be signed in to change notification settings

arkadiuszsz/LuaJIT-Threads

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Library for running Lua code in a separate thread with LuaJIT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published