Skip to content

Commit

Permalink
Bump version, update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Germain committed Nov 21, 2016
1 parent 8d2e855 commit 0a064da
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
CHANGES:

CHANGE 118: trukanduk 21-Nov-16
* bumped version to 3.10.1
* objects with a metatable that contains __lanesignore are skipped during data transfers

CHANGE 117: mpeterv 21-Nov-16
* Fix an implicit number-to-string conversion

CHANGE 116: BGe, mpeterv 27-Apr-15
* bumped version to 3.10.0
* segfault fixed in LG_lane_new
Expand Down
7 changes: 4 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@
<font size="-1">
<p>
<br/>
<i>Copyright &copy; 2007-15 Asko Kauppi, Benoit Germain. All rights reserved.</i>
<i>Copyright &copy; 2007-16 Asko Kauppi, Benoit Germain. All rights reserved.</i>
<br/>
Lua Lanes is published under the same <a href="http://en.wikipedia.org/wiki/MIT_License">MIT license</a> as Lua 5.1, 5.2, and 5.3.
</p>

<p>
This document was revised on 27-Apr-15, and applies to version <tt>3.10.0</tt>.
This document was revised on 21-Nov-16, and applies to version <tt>3.10.1</tt>.
</p>
</font>
</center>
Expand All @@ -88,7 +88,7 @@ <h2 id="description">Description</h2>
Lanes is included into your software by the regular <tt>require "lanes"</tt> method. No C side programming is needed; all APIs are Lua side, and most existing extension modules should work seamlessly together with the multiple lanes.
</p>
<p>
Starting with version 3.1.6, Lanes should build and run identically with either Lua 5.1 or Lua 5.2.
Starting with version 3.1.6, Lanes should build and run identically with either Lua 5.1 or Lua 5.2. Version 3.10.0 supports Lua 5.3.
</p>
<p>
See <A HREF="comparison.html">comparison</A> of Lua Lanes with other Lua multithreading solutions.
Expand Down Expand Up @@ -1393,6 +1393,7 @@ <h3>Limitations on data passing</h3>
</ul>
</li>
<li>Coroutines cannot be passed. A coroutine's Lua state is tied to the Lua state that created it, and there is no way the mixed C/Lua stack of a coroutine can be transfered from one Lua state to another.</li>
<li>Starting with version 3.10.1, if the metatable contains <tt>__lanesignore</tt>, the object is skipped and <tt>nil</tt> is transfered instead.</li>
</ul>
</p>

Expand Down
66 changes: 66 additions & 0 deletions lanes-3.10.1-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
--
-- Lanes rockspec
--
-- Ref:
-- <http://luarocks.org/en/Rockspec_format>
--

package = "Lanes"

version = "3.10.1-1"

source= {
url= "git://github.com/LuaLanes/lanes.git",
branch= "v3.10.1"
}

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 <[email protected]>"
}

-- 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, 5.2 and 5.3
}

build = {
type = "builtin",
platforms =
{
linux =
{
modules =
{
["lanes.core"] =
{
libraries = "pthread"
},
}
}
},
modules =
{
["lanes.core"] =
{
sources = { "src/compat.c", "src/deep.c", "src/lanes.c", "src/keeper.c", "src/tools.c", "src/threading.c"},
incdirs = { "src"},
},
lanes = "src/lanes.lua"
}
}
2 changes: 1 addition & 1 deletion src/lanes.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* ...
*/

char const* VERSION = "3.10.0";
char const* VERSION = "3.10.1";

/*
===============================================================================
Expand Down

0 comments on commit 0a064da

Please sign in to comment.