Age | Commit message (Collapse) | Author |
|
|
|
callback system by using the Lua's C closure mechanism.
|
|
well as as the class name.
|
|
|
|
template means pushing a table by its name, and the constructor is implicit in it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
includes/LuaTask.h
includes/TaskMan.h
includes/Threads.h
src/TaskMan.cc
src/Threads.cc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trigger it.
|
|
|
|
|
|
createTask to registerTask, which makes way more sense.
|
|
|
|
|
|
LuaTMainTask queue works.
|
|
|
|
|
|
|
|
|
|
-) 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.
|
|
debugging purposes.
|
|
and a potential client makes sense. Also packing requests and responses into structures / classes is probably a good idea.
|
|
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.
|
|
|
|
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.
|
|
|
|
|