Age | Commit message (Collapse) | Author |
|
|
|
-) 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.
|
|
say it's okay to get a EAgain exception, if the operation is interruptible.
|
|
-) setPreemptible now returns the previous state
-) Events may now not have an owner
-) Events may now have a callback (even though it still needs an owner to get into the ev_loop, for these kind of watchers...)
TODO:
-) think about a way to start a watcher without requireing a Task
-) add a few more things in the Tasks unit tests
|
|
Hence removing a few now unnecessary asserts.
|
|
|
|
mechanism to re-arm an event.
|
|
|
|
yet though. The eprintf() thingy seems odd.
|
|
WSAStartup has to be called in win32 at startup.
The TLS environment needs to be cleared when created.
|
|
|
|
ClassName system, when using gcc and libstdc++.
|
|
Also fixing a bug with the Printer - va_args are vicious.
|
|
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.
|
|
|
|
|