<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lanes/tests/timer.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>2026-02-26T11:02:28+00:00</updated>
<entry>
<title>Fix lanes.timers() documentation error, and add the relevant unit test</title>
<updated>2026-02-26T11:02:28+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2026-02-26T11:02:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=fd3c223ad05785e094256f7798774b560f0e0e7c'/>
<id>urn:sha1:fd3c223ad05785e094256f7798774b560f0e0e7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>linda :get(), :set(), :limit() return value changes</title>
<updated>2024-06-12T16:18:24+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2024-06-12T16:18:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=dddc28153796f9c8eb256eddb335c8643226fd0b'/>
<id>urn:sha1:dddc28153796f9c8eb256eddb335c8643226fd0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Some API changes</title>
<updated>2024-05-31T15:04:17+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2024-05-31T15:04:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=f7a38b5681ebf7429828fca9a9f7c109df853d54'/>
<id>urn:sha1:f7a38b5681ebf7429828fca9a9f7c109df853d54</id>
<content type='text'>
* lanes.timers() can return nil, cancel_error if interrupted
* linda:receive() always return a k,v, where k is nil when v is "timeout" or cancel_error
* lanes.sleep returns nil, "timeout" during normal operations
</content>
</entry>
<entry>
<title>Some more code refactorization</title>
<updated>2024-05-13T16:15:46+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2024-05-07T07:42:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=d093c5555ec439affcfbecdceabfb122aa8c2f73'/>
<id>urn:sha1:d093c5555ec439affcfbecdceabfb122aa8c2f73</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tweak some test scripts</title>
<updated>2024-04-08T10:13:04+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>benoit.germain@ubisoft.com</email>
</author>
<published>2024-04-08T10:13:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=63b930ebc5060efecea0ec3acf7e5c93e4047864'/>
<id>urn:sha1:63b930ebc5060efecea0ec3acf7e5c93e4047864</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Lane cancellation rework</title>
<updated>2019-04-26T10:20:06+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>b n t DOT g e r m a i n AT g m a i l DOT c o m</email>
</author>
<published>2019-04-26T10:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=9c84074c89661cd1e776eff3d4aa5329a2ac9524'/>
<id>urn:sha1:9c84074c89661cd1e776eff3d4aa5329a2ac9524</id>
<content type='text'>
opt.cancelstep is gone, hook is installed by lane:cancel() if requested
lane:cancel() rework (see doc)
</content>
</entry>
<entry>
<title>version 3.5.0</title>
<updated>2013-01-30T19:28:47+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>bnt.germain@gmail.com</email>
</author>
<published>2013-01-30T19:28:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=b657f38535c3c27a848353ef853d6667d6acc917'/>
<id>urn:sha1:b657f38535c3c27a848353ef853d6667d6acc917</id>
<content type='text'>
   * new: API lanes.require(), use it instead of regular require() for modules that export C functions you need to send over.
   * new: lanes no longer require 'lanes.core' by default in every created state. Use {required={"lanes.core"}} if you need to transfer lanes functions.
   * internal: because of the above, reworked the timer implementation to remove upvalue-dependency on lanes.core
   * new: API lanes.timer_lane, to be able to operate on timer lane if need be
   * improved: if a module is a full userdata, scan its metatable for function database population
   * improved: on_state_create can be a Lua function
   * changed: on_state_create is called after the base libraries are loaded
   * package[loaders|searchers] is no longer transfered as function naming depends on slot order
   * internal: changed separator from '.' to '/' in lookup databases to be able to distinguish search levels and dot coming from module names
   * added some mode debug spew
   * updated tests to reflect the above changes
</content>
</entry>
<entry>
<title>Update tests/timer.lua</title>
<updated>2012-12-17T11:02:33+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>bnt.germain@gmail.com</email>
</author>
<published>2012-12-17T11:02:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=944c38c5b4932e692caedbf431eff1b7e1c8ca13'/>
<id>urn:sha1:944c38c5b4932e692caedbf431eff1b7e1c8ca13</id>
<content type='text'>
</content>
</entry>
<entry>
<title>version 3.4.0</title>
<updated>2012-09-26T19:22:30+00:00</updated>
<author>
<name>Benoit Germain</name>
<email>bnt.germain@gmail.com</email>
</author>
<published>2012-09-26T19:22:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lanes/commit/?id=bba4ecea15320dfbf8edf35f7361de374d895ace'/>
<id>urn:sha1:bba4ecea15320dfbf8edf35f7361de374d895ace</id>
<content type='text'>
   * new method linda:dump() that outputs the full contents of a linda as a table, also linked to __towatch for Decoda support
   * linda:receive() API change!
   * instead of [val, key], linda:receive( timeout, key) returns [key, val]
   * instead of [val, [...]], linda:receive( timeout, linda.batched key) returns [key, val[, ...]]
     this is to unify the return values of regular and batched mode, and to be able to tell when batched mode is interrupted by a lane cancellation
   * fixed Lua 5.2 build to take into account the "loaders"-&gt;"searchers" name change in 'package' module.
   * a bit of html cleanup and added some infos in the documentation regarding the Lanes internals
</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>
