From 21e9a16028a75fdb26b57c3c5a5b647ce4ce25a7 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Mon, 14 Oct 2013 14:30:33 +0200 Subject: Create lanes-3.7.0-1.rockspec --- lanes-3.7.0-1.rockspec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 lanes-3.7.0-1.rockspec diff --git a/lanes-3.7.0-1.rockspec b/lanes-3.7.0-1.rockspec new file mode 100644 index 0000000..ec55bc1 --- /dev/null +++ b/lanes-3.7.0-1.rockspec @@ -0,0 +1,66 @@ +-- +-- Lanes rockspec +-- +-- Ref: +-- +-- + +package = "Lanes" + +version = "3.7.0-1" + +source= { + url= "git://github.com/LuaLanes/lanes.git", + branch= "v3.7.0" +} + +description = { + summary= "Multithreading support for Lua", + detailed= [[ + Lua Lanes is a portable, message passing multithreading library + providing the possibility to run multiple Lua states in parallel. + ]], + license= "MIT/X11", + homepage="https://github.com/LuaLanes/lanes", + maintainer="Benoit Germain " +} + +-- Q: What is the difference of "windows" and "win32"? Seems there is none; +-- so should we list either one or both? +-- +supported_platforms= { "win32", + "macosx", + "linux", + "freebsd", -- TBD: not tested + "msys", -- TBD: not supported by LuaRocks 1.0 (or is it?) +} + +dependencies= { + "lua >= 5.1", -- builds with either 5.1 and 5.2 +} + +build = { + type = "builtin", + platforms = + { + linux = + { + modules = + { + ["lanes.core"] = + { + libraries = "pthread" + }, + } + } + }, + modules = + { + ["lanes.core"] = + { + sources = { "src/lanes.c", "src/keeper.c", "src/tools.c", "src/threading.c"}, + incdirs = { "src"}, + }, + lanes = "src/lanes.lua" + } +} -- cgit v1.2.3-55-g6feb From 77a7b1806e8804c34e861c0eb3a8e807055a2e27 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 15 Oct 2013 09:34:15 +0200 Subject: Update TODO --- TODO | 5 ----- 1 file changed, 5 deletions(-) diff --git a/TODO b/TODO index 2846384..1c452ba 100644 --- a/TODO +++ b/TODO @@ -1,10 +1,5 @@ - TODO: -- Use of 'atexit()' is not good. It's possible to be called at "program (process) - exit", when the so might already be out. Tying to OS specific so cleanup - is way better. - - Testing Lane killing (not cancellation, but actual killing) - Like luaproc: Lanes to have M:N relationship to kernel threads -- cgit v1.2.3-55-g6feb