diff options
| author | Benoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m> | 2013-10-22 19:32:34 +0200 |
|---|---|---|
| committer | Benoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m> | 2013-10-22 19:32:34 +0200 |
| commit | e7006c3816ebe44a89fdc3a453bf9e33d96a525e (patch) | |
| tree | 8f93c8316e89446700d3d56d6f653f860facb6c6 | |
| parent | 162a8ed6d5abf8bb1e36a4f5794073f7870fd20c (diff) | |
| parent | 77a7b1806e8804c34e861c0eb3a8e807055a2e27 (diff) | |
| download | lanes-e7006c3816ebe44a89fdc3a453bf9e33d96a525e.tar.gz lanes-e7006c3816ebe44a89fdc3a453bf9e33d96a525e.tar.bz2 lanes-e7006c3816ebe44a89fdc3a453bf9e33d96a525e.zip | |
Merge branch 'master' of github.com:LuaLanes/lanes
| -rw-r--r-- | TODO | 5 | ||||
| -rw-r--r-- | lanes-3.7.0-1.rockspec | 66 |
2 files changed, 66 insertions, 5 deletions
| @@ -1,10 +1,5 @@ | |||
| 1 | |||
| 2 | TODO: | 1 | TODO: |
| 3 | 2 | ||
| 4 | - Use of 'atexit()' is not good. It's possible to be called at "program (process) | ||
| 5 | exit", when the so might already be out. Tying to OS specific so cleanup | ||
| 6 | is way better. | ||
| 7 | |||
| 8 | - Testing Lane killing (not cancellation, but actual killing) | 3 | - Testing Lane killing (not cancellation, but actual killing) |
| 9 | 4 | ||
| 10 | - Like luaproc: Lanes to have M:N relationship to kernel threads | 5 | - Like luaproc: Lanes to have M:N relationship to kernel threads |
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 @@ | |||
| 1 | -- | ||
| 2 | -- Lanes rockspec | ||
| 3 | -- | ||
| 4 | -- Ref: | ||
| 5 | -- <http://luarocks.org/en/Rockspec_format> | ||
| 6 | -- | ||
| 7 | |||
| 8 | package = "Lanes" | ||
| 9 | |||
| 10 | version = "3.7.0-1" | ||
| 11 | |||
| 12 | source= { | ||
| 13 | url= "git://github.com/LuaLanes/lanes.git", | ||
| 14 | branch= "v3.7.0" | ||
| 15 | } | ||
| 16 | |||
| 17 | description = { | ||
| 18 | summary= "Multithreading support for Lua", | ||
| 19 | detailed= [[ | ||
| 20 | Lua Lanes is a portable, message passing multithreading library | ||
| 21 | providing the possibility to run multiple Lua states in parallel. | ||
| 22 | ]], | ||
| 23 | license= "MIT/X11", | ||
| 24 | homepage="https://github.com/LuaLanes/lanes", | ||
| 25 | maintainer="Benoit Germain <bnt.germain@gmail.com>" | ||
| 26 | } | ||
| 27 | |||
| 28 | -- Q: What is the difference of "windows" and "win32"? Seems there is none; | ||
| 29 | -- so should we list either one or both? | ||
| 30 | -- | ||
| 31 | supported_platforms= { "win32", | ||
| 32 | "macosx", | ||
| 33 | "linux", | ||
| 34 | "freebsd", -- TBD: not tested | ||
| 35 | "msys", -- TBD: not supported by LuaRocks 1.0 (or is it?) | ||
| 36 | } | ||
| 37 | |||
| 38 | dependencies= { | ||
| 39 | "lua >= 5.1", -- builds with either 5.1 and 5.2 | ||
| 40 | } | ||
| 41 | |||
| 42 | build = { | ||
| 43 | type = "builtin", | ||
| 44 | platforms = | ||
| 45 | { | ||
| 46 | linux = | ||
| 47 | { | ||
| 48 | modules = | ||
| 49 | { | ||
| 50 | ["lanes.core"] = | ||
| 51 | { | ||
| 52 | libraries = "pthread" | ||
| 53 | }, | ||
| 54 | } | ||
| 55 | } | ||
| 56 | }, | ||
| 57 | modules = | ||
| 58 | { | ||
| 59 | ["lanes.core"] = | ||
| 60 | { | ||
| 61 | sources = { "src/lanes.c", "src/keeper.c", "src/tools.c", "src/threading.c"}, | ||
| 62 | incdirs = { "src"}, | ||
| 63 | }, | ||
| 64 | lanes = "src/lanes.lua" | ||
| 65 | } | ||
| 66 | } | ||
