<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lanes/tests/finalizer.lua, branch v4.0.0</title>
<subtitle>A mirror of https://github.com/LuaLanes/lanes.git
</subtitle>
<id>https://git.lua4.win/lanes/atom?h=v4.0.0</id>
<link rel='self' href='https://git.lua4.win/lanes/atom?h=v4.0.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/'/>
<updated>2025-06-05T14:03:22+00:00</updated>
<entry>
<title>Change lane:join() return values</title>
<updated>2025-06-05T14:03:22+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2025-06-05T14:03:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=bfdc7a92c4e3e99522abb6d90ef2cbb021f36fc8'/>
<id>urn:sha1:bfdc7a92c4e3e99522abb6d90ef2cbb021f36fc8</id>
<content type='text'>
* when no error is raised in the lane, lane:join() now precedes the lane returned values with true
* lane body is no longer forced to return something when used with join()
* adjusted all relevant unit tests accordingly
</content>
</entry>
<entry>
<title>Give a name to all lanes in the tests</title>
<updated>2025-03-14T13:53:09+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2025-03-14T13:53:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=512f4c0b46ea5cc359e673b7379cd81925863121'/>
<id>urn:sha1:512f4c0b46ea5cc359e673b7379cd81925863121</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Internal refactorization to properly handle lua_resume idiosyncrasies</title>
<updated>2024-07-29T16:07:16+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2024-07-29T16:07:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=bb11006f635a69dd9244e09e4359ed02eff8fe84'/>
<id>urn:sha1:bb11006f635a69dd9244e09e4359ed02eff8fe84</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Wording fix: parameter → argument</title>
<updated>2024-06-14T15:11:36+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2024-06-14T15:11:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=50f4c40bdb5667aa7053434dede2dd98f6f9e243'/>
<id>urn:sha1:50f4c40bdb5667aa7053434dede2dd98f6f9e243</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixes and improvements to lane:join()</title>
<updated>2024-06-11T09:36:15+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2024-06-11T09:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=84294d0b5462d0a05fb5d53df5a64f7ee624a726'/>
<id>urn:sha1:84294d0b5462d0a05fb5d53df5a64f7ee624a726</id>
<content type='text'>
* fix: returns nil,cancel_error when lane was cancelled
* improvement: enforce non-nil first return value of lane body when using lane:join() to obtain the results
</content>
</entry>
<entry>
<title>New Lanes finalizer API lanes.finally()</title>
<updated>2024-05-28T16:01:55+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2024-05-28T16:01:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=92944be3c3718095efa38e2a8db94844b1c7f739'/>
<id>urn:sha1:92944be3c3718095efa38e2a8db94844b1c7f739</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Some code factorization</title>
<updated>2024-05-03T09:25:07+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2024-05-03T09:25:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=4995040204ca27b13ed4e52ad01d76111ae6b081'/>
<id>urn:sha1:4995040204ca27b13ed4e52ad01d76111ae6b081</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixed some tests</title>
<updated>2021-06-28T06:50:19+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>bnt.germain@gmail.com</email>
</author>
<published>2021-06-28T06:50:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=cce1a1d235322cf51d62305aee89c7bfa64e9905'/>
<id>urn:sha1:cce1a1d235322cf51d62305aee89c7bfa64e9905</id>
<content type='text'>
</content>
</entry>
<entry>
<title>version 3.3.0</title>
<updated>2012-09-10T18:41:03+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>bnt.germain@gmail.com</email>
</author>
<published>2012-09-10T18:41:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=242feeb342f68999b02c2b8dc4614abefdab8431'/>
<id>urn:sha1:242feeb342f68999b02c2b8dc4614abefdab8431</id>
<content type='text'>
   * lane.status can return "killed" if lane was forcefully killed with lanes:cancel()
   * lane:join(): return nil, "killed" if called on a killed lane.
   * lane[&lt;n&gt;]: produces [1] = nil, [2] = "killed" if the lane was killed
   * lane:join(): fixed an assertion in debug builds when joining a lane forcefully cancelled with lane:cancel( &lt;x&gt;, true).
   * indexing a lane with a string other than "join", "cancel" or "status" raises an error.
   * fixed configure() to correctly apply defaults when they are missing from the provided settings
   * added a shutdown_timeout to control the duration Lanes will wait for graceful termination of running lanes at application shutdown. Default is 0.25.

Among other things, fixes issue #31.
</content>
</entry>
<entry>
<title>* changed lanes.configure signature to receive a table instead of individual parameters</title>
<updated>2012-02-18T13:08:52+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>bnt.germain@gmail.com</email>
</author>
<published>2012-02-18T13:08:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=076344633e7b2525cf48005f84f3935f324b60bf'/>
<id>urn:sha1:076344633e7b2525cf48005f84f3935f324b60bf</id>
<content type='text'>
* added support for an on_state_create callback called to load custom functions in a state in addition to the base libraries
</content>
</entry>
</feed>
