-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
92 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package = "lua-llthreads2" | ||
version = "0.1.2-1" | ||
source = { | ||
url = "https://github.com/moteus/lua-llthreads2/archive/v0.1.2.zip", | ||
dir = "lua-llthreads2-0.1.2", | ||
} | ||
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.3", | ||
} | ||
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", | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package = "lua-llthreads2-compat" | ||
version = "0.1.2-1" | ||
source = { | ||
url = "https://github.com/moteus/lua-llthreads2/archive/v0.1.2.zip", | ||
dir = "lua-llthreads2-0.1.2", | ||
} | ||
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.3", | ||
} | ||
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", | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters