Age | Commit message (Collapse) | Author |
|
|
|
|
|
bits of the TaskManager.
|
|
threads that are created on startup.
|
|
-) 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.
|
|
loop; also the Queue<> template changed for a naive but std-less implementation.
|
|
|
|
something to do.
|
|
I'm not really sure I fully like the way I'm designing this, but I guess it could be solved with an HTTP/HTML helper class around the Action class.
However, the HTTP server awfully need reference counting, so it doesn't go away before all of the workers disappear, which means a bit of a redesign of the Listener template.
|
|
unit test for this...
|
|
task manager, and actually implementing it properly.
|
|
to be performed from the task manager.
|
|
differently.
|
|
|
|
stick on another one's thread, if needed. (and it is)
|
|
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.
|
|
functions.
Switching out libcoro for the native Fibers interface for Win32.
Switching out the asm version for the ucontext version for Linux.
|
|
|
|
|
|
-) The IO class needed an assignment operator, as well as the ability to NOT contain a Handle.
-) The Task Manager wasn't properly starting up pending tasks that got added during startup.
|
|
WSAStartup has to be called in win32 at startup.
The TLS environment needs to be cleared when created.
|
|
Renamed suspend() to yield().
Fixed a couple of bugs, and reorganized slightly some code.
|
|
we activate the tasks.
|
|
|
|
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.
|
|
Also fixing a few bugs linked with the printer and TLS.
Removed flto from compilation flags: this actually creates bad code (!)
|
|
Added libcoro submodule.
Also refactored some pieces of code.
|