summaryrefslogtreecommitdiff
path: root/tests/test-Tasks.cc
AgeCommit message (Collapse)Author
2013-01-21Starting to add a few tests for the new interruptible code.Nicolas 'Pixel' Noble
2013-01-20Strengthening the stackless test for Input.Nicolas 'Pixel' Noble
2013-01-20Input's open, read and close are now operations fully interruptible.Nicolas 'Pixel' Noble
2012-04-08Redifining yielding for operations a bit, making further refinements.Pixel
2012-04-08Slightly more tests for the stackless task unit test.Pixel
2012-04-08Slightly cleaner unit test.Pixel
2012-04-08Adding a small unit test for Stackless tasks.Pixel
2012-04-06Making it simplier to register a task and wait for it. Also renamed ↵Pixel
createTask to registerTask, which makes way more sense.
2012-04-03Reworking a bit the way the queues are working, and thus, the way the ↵Pixel
LuaTMainTask queue works.
2012-04-02Fixing unit testsPixel
2011-12-04Reworked some things in the architecture, mainly exceptions and asserts.Pixel
-) Removed Assert() -) Added AAssert(), IAssert(), RAssert(), TAssert() and Failure() -) Reworked all asserts in the code, and added meaningful messages to them. -) Changed the way the startup code is generated; BALAU_STARTUP is no longer necessary.
2011-11-16Kind of a big revamp of the TaskMan / Task model, in order to introduce a ↵Pixel
TaskScheduler. The idea is that we need to support multiple task managers from multiple threads. So that revamp means we now should be able to support that, except the TaskScheduler needs to implement a round robin system, to distribute tasks across multiple task managers. But at least, the fundamental redesign to permit this is here.
2011-10-17Adding the Async event, and tweaking the others a bit.Pixel
2011-10-17Removing the 'non-preemptible' madness before it could even be used.Pixel
2011-10-14The tasks can now set themselves to be non-preemptible. Also implemented a ↵Pixel
mechanism to re-arm an event.
2011-10-10Adding the basic "Handle" structure, and adding an early version of Input.Pixel
Renamed suspend() to yield(). Fixed a couple of bugs, and reorganized slightly some code.
2011-10-09Starting to integrate libev; timer event works.Pixel
2011-10-09This wasn't intended.Nicolas "Pixel" Noble
2011-10-09More work on the Task manager.Pixel
Now "Main" is a Task, among the most important changes. Introduced the notion of Events, and managed a coherent task switch. Also, renamed a lot of the variables to have a more coherent naming scheme.
2011-10-07More work in the Task manager.Pixel
Also fixing a few bugs linked with the printer and TLS. Removed flto from compilation flags: this actually creates bad code (!)
2011-10-07Preliminary work for the Task manager.Pixel
Added libcoro submodule. Also refactored some pieces of code.