Commit graph

18 commits

Author SHA1 Message Date
34040e5af1 Properly handle SIGINT to quit.
This puts ThreadPool::join() back to being private.
Eventia events now should inherit from Event, which will take
care of setting up the required callbacks so that events will
be notified about the main event loop stopping. Inheriting
from Event is currently not enforced.
2020-08-15 14:55:59 +01:00
4dd78099f1 Add TimerCreators 2020-08-12 01:04:28 +01:00
182e2148ac Reduce initial timer delays
This is test code anyways
2020-08-12 01:04:16 +01:00
cb500fd67c Add TimerCreators 2020-08-11 02:10:43 +01:00
3866462ff5 Add worker_threads setting 2020-08-11 01:33:11 +01:00
9bb2efb2ee Rename TimerGeneric to TimerOroApi
It's not *that* generic, it's really meant
to only work with oro::Api methods
2020-08-10 21:52:56 +01:00
5bf036f056 Replace timers with a templated one
They all do the same thing, the only difference
is the method they call on oro::Api, so
template on that
2020-08-10 21:52:56 +01:00
c1e21bb8d6 Add TimerShops 2020-08-10 21:52:56 +01:00
2717817958 Attach GPL3+ licence 2020-08-10 11:22:25 +01:00
6b9502ea3e Store items and icons into the db 2020-08-10 02:34:09 +01:00
8fa434e76e Timer queries the remote api 2020-08-09 21:07:54 +01:00
c0461f6b09 More refactoring 2020-08-09 20:47:04 +01:00
034020e152 Remove thread pool selection code for now 2020-08-09 20:04:22 +01:00
9df60f074b Rename classes 2020-08-09 19:28:39 +01:00
7fb055cd40 Refactor event code.
This splits the thread pool code from the event code, and
class names are now wrong (I will update them in the next
commit). Also, this disregards the roar11 vs tf library
thing, taskflow was not working anyways and I will probably
remove all the conditional compilation stuff about it for
now.
2020-08-09 19:26:18 +01:00
9f0fed98e2 Get the concept working
A bit hackish because see ThreadPool.hpp.
Also code is dirty and it can't be stopped once running.
Building up from here.
2020-08-09 17:29:37 +01:00
fb69fd2289 Split html timed fetch into 2 classes
Signed-off-by: King_DuckZ <king_duckz@gmx.com>
2020-08-01 07:24:45 +02:00
d44529871c Add event loop with thread pool
I think it works

Signed-off-by: King_DuckZ <king_duckz@gmx.com>
2020-08-01 07:02:54 +02:00