From 7b05a0a79a6da66d85ec78e140fa425eb01d6ba0 Mon Sep 17 00:00:00 2001 From: Alexey Melnichuk Date: Tue, 13 Jan 2015 15:43:05 +0400 Subject: Prepare release and bump version numbers to 0.1.3 --- dist.info | 2 +- rockspecs/lua-llthreads2-0.1.3-1.rockspec | 45 ++++++++++++++++++++++++ rockspecs/lua-llthreads2-compat-0.1.3-1.rockspec | 45 ++++++++++++++++++++++++ src/llthread.c | 2 +- 4 files changed, 92 insertions(+), 2 deletions(-) create mode 100644 rockspecs/lua-llthreads2-0.1.3-1.rockspec create mode 100644 rockspecs/lua-llthreads2-compat-0.1.3-1.rockspec diff --git a/dist.info b/dist.info index e367ebd..16b6fd1 100644 --- a/dist.info +++ b/dist.info @@ -1,5 +1,5 @@ name = "lua-llthreads2" -version = "0.1.2" +version = "0.1.3" desc = "A simple Lua wrapper for pthreads & WIN32 threads." author = "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 @@ +package = "lua-llthreads2" +version = "0.1.3-1" +source = { + url = "https://github.com/moteus/lua-llthreads2/archive/v0.1.3.zip", + dir = "lua-llthreads2-0.1.3", +} +description = { + summary = "Low-Level threads for Lua", + homepage = "http://github.com/moteus/lua-llthreads2", + license = "MIT/X11", + detailed = [[ + This is drop-in replacement for `lua-llthread` module but the module called `llthreads2`. + In additional module supports: thread join with zero timeout; logging thread errors with + custom logger; run detached joinable threads; pass cfunctions as argument to child thread. + ]], +} +dependencies = { + "lua >= 5.1, < 5.4", +} +build = { + type = "builtin", + platforms = { + unix = { + modules = { + llthreads2 = { + libraries = {"pthread"}, + } + } + }, + windows = { + modules = { + llthreads2 = { + libraries = {"kernel32"}, + } + } + } + }, + modules = { + llthreads2 = { + sources = { "src/l52util.c", "src/llthread.c" }, + defines = { "LLTHREAD_MODULE_NAME=llthreads2" }, + }, + ["llthreads2.ex"] = "src/lua/llthreads2/ex.lua", + } +} \ 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 @@ +package = "lua-llthreads2-compat" +version = "0.1.3-1" +source = { + url = "https://github.com/moteus/lua-llthreads2/archive/v0.1.3.zip", + dir = "lua-llthreads2-0.1.3", +} +description = { + summary = "Low-Level threads for Lua", + homepage = "http://github.com/moteus/lua-llthreads2", + license = "MIT/X11", + detailed = [[ + This is drop-in replacement for `lua-llthread` module. + In additional module supports: thread join with zero timeout; logging thread errors with + custom logger; run detached joinable threads; pass cfunctions as argument to child thread. + ]], +} +dependencies = { + "lua >= 5.1, < 5.4", +} +build = { + type = "builtin", + platforms = { + unix = { + modules = { + llthreads = { + libraries = {"pthread"}, + } + } + }, + windows = { + modules = { + llthreads = { + libraries = {"kernel32"}, + } + } + } + }, + modules = { + llthreads = { + sources = { "src/l52util.c", "src/llthread.c" }, + defines = { "LLTHREAD_MODULE_NAME=llthreads" }, + }, + ["llthreads.ex"] = "src/lua/llthreads2/ex.lua", + } +} \ 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 @@ #define LLTHREAD_VERSION_MAJOR 0 #define LLTHREAD_VERSION_MINOR 1 -#define LLTHREAD_VERSION_PATCH 2 +#define LLTHREAD_VERSION_PATCH 3 // #define LLTHREAD_VERSION_COMMENT "dev" #ifndef USE_PTHREAD -- cgit v1.2.3-55-g6feb