summaryrefslogtreecommitdiff
path: root/includes/Threads.h
AgeCommit message (Collapse)Author
2012-04-03Reworking a bit the way the queues are working, and thus, the way the ↵Pixel
LuaTMainTask queue works.
2012-04-01More code cleanup.Pixel
2012-03-17Typo.Nicolas "Pixel" Noble
2012-03-08Adding the ScopeLock class to simplify a bit some pieces of code.Pixel
2011-12-05Adding read-write locks, and applying them immediately to the http server.Pixel
2011-12-04Refactored the Thread code a bit, and created the GlobalThread class, for ↵Pixel
threads that are created on startup.
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-29The TaskManager no longer waits on the pop(); instead it waits in the libev ↵Pixel
loop; also the Queue<> template changed for a naive but std-less implementation.
2011-11-17Cleaning some code, redesigning a bit the stack allocation problem from the ↵Pixel
task manager, and actually implementing it properly.
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-14Adding a Thread and a Queue class.Pixel
2011-10-09Adding basic locks from libpthread. Also, that 'pending' loop belongs after ↵Pixel
we activate the tasks.