aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Melnichuk <mimir@newmail.ru>2015-01-13 15:43:05 +0400
committerAlexey Melnichuk <mimir@newmail.ru>2015-01-13 15:43:05 +0400
commit7b05a0a79a6da66d85ec78e140fa425eb01d6ba0 (patch)
treedc04b0f24beba0bbff19cf3c5fa37855e55d058b
parentd2914931eca8732973c19f2ad3f45577778e3662 (diff)
downloadlua-llthreads2-7b05a0a79a6da66d85ec78e140fa425eb01d6ba0.tar.gz
lua-llthreads2-7b05a0a79a6da66d85ec78e140fa425eb01d6ba0.tar.bz2
lua-llthreads2-7b05a0a79a6da66d85ec78e140fa425eb01d6ba0.zip
Prepare release and bump version numbers to 0.1.3v0.1.3
-rw-r--r--dist.info2
-rw-r--r--rockspecs/lua-llthreads2-0.1.3-1.rockspec45
-rw-r--r--rockspecs/lua-llthreads2-compat-0.1.3-1.rockspec45
-rw-r--r--src/llthread.c2
4 files changed, 92 insertions, 2 deletions
diff --git a/dist.info b/dist.info
index e367ebd..16b6fd1 100644
--- a/dist.info
+++ b/dist.info
@@ -1,5 +1,5 @@
1name = "lua-llthreads2" 1name = "lua-llthreads2"
2version = "0.1.2" 2version = "0.1.3"
3 3
4desc = "A simple Lua wrapper for pthreads & WIN32 threads." 4desc = "A simple Lua wrapper for pthreads & WIN32 threads."
5author = "Alexey Melnichuk" 5author = "Alexey Melnichuk"
diff --git a/rockspecs/lua-llthreads2-0.1.3-1.rockspec b/rockspecs/lua-llthreads2-0.1.3-1.rockspec
new file mode 100644
index 0000000..1ef4c74
--- /dev/null
+++ b/rockspecs/lua-llthreads2-0.1.3-1.rockspec
@@ -0,0 +1,45 @@
1package = "lua-llthreads2"
2version = "0.1.3-1"
3source = {
4 url = "https://github.com/moteus/lua-llthreads2/archive/v0.1.3.zip",
5 dir = "lua-llthreads2-0.1.3",
6}
7description = {
8 summary = "Low-Level threads for Lua",
9 homepage = "http://github.com/moteus/lua-llthreads2",
10 license = "MIT/X11",
11 detailed = [[
12 This is drop-in replacement for `lua-llthread` module but the module called `llthreads2`.
13 In additional module supports: thread join with zero timeout; logging thread errors with
14 custom logger; run detached joinable threads; pass cfunctions as argument to child thread.
15 ]],
16}
17dependencies = {
18 "lua >= 5.1, < 5.4",
19}
20build = {
21 type = "builtin",
22 platforms = {
23 unix = {
24 modules = {
25 llthreads2 = {
26 libraries = {"pthread"},
27 }
28 }
29 },
30 windows = {
31 modules = {
32 llthreads2 = {
33 libraries = {"kernel32"},
34 }
35 }
36 }
37 },
38 modules = {
39 llthreads2 = {
40 sources = { "src/l52util.c", "src/llthread.c" },
41 defines = { "LLTHREAD_MODULE_NAME=llthreads2" },
42 },
43 ["llthreads2.ex"] = "src/lua/llthreads2/ex.lua",
44 }
45} \ No newline at end of file
diff --git a/rockspecs/lua-llthreads2-compat-0.1.3-1.rockspec b/rockspecs/lua-llthreads2-compat-0.1.3-1.rockspec
new file mode 100644
index 0000000..a8a1580
--- /dev/null
+++ b/rockspecs/lua-llthreads2-compat-0.1.3-1.rockspec
@@ -0,0 +1,45 @@
1package = "lua-llthreads2-compat"
2version = "0.1.3-1"
3source = {
4 url = "https://github.com/moteus/lua-llthreads2/archive/v0.1.3.zip",
5 dir = "lua-llthreads2-0.1.3",
6}
7description = {
8 summary = "Low-Level threads for Lua",
9 homepage = "http://github.com/moteus/lua-llthreads2",
10 license = "MIT/X11",
11 detailed = [[
12 This is drop-in replacement for `lua-llthread` module.
13 In additional module supports: thread join with zero timeout; logging thread errors with
14 custom logger; run detached joinable threads; pass cfunctions as argument to child thread.
15 ]],
16}
17dependencies = {
18 "lua >= 5.1, < 5.4",
19}
20build = {
21 type = "builtin",
22 platforms = {
23 unix = {
24 modules = {
25 llthreads = {
26 libraries = {"pthread"},
27 }
28 }
29 },
30 windows = {
31 modules = {
32 llthreads = {
33 libraries = {"kernel32"},
34 }
35 }
36 }
37 },
38 modules = {
39 llthreads = {
40 sources = { "src/l52util.c", "src/llthread.c" },
41 defines = { "LLTHREAD_MODULE_NAME=llthreads" },
42 },
43 ["llthreads.ex"] = "src/lua/llthreads2/ex.lua",
44 }
45} \ No newline at end of file
diff --git a/src/llthread.c b/src/llthread.c
index 5216660..74784ae 100644
--- a/src/llthread.c
+++ b/src/llthread.c
@@ -4,7 +4,7 @@
4 4
5#define LLTHREAD_VERSION_MAJOR 0 5#define LLTHREAD_VERSION_MAJOR 0
6#define LLTHREAD_VERSION_MINOR 1 6#define LLTHREAD_VERSION_MINOR 1
7#define LLTHREAD_VERSION_PATCH 2 7#define LLTHREAD_VERSION_PATCH 3
8// #define LLTHREAD_VERSION_COMMENT "dev" 8// #define LLTHREAD_VERSION_COMMENT "dev"
9 9
10#ifndef USE_PTHREAD 10#ifndef USE_PTHREAD