diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2022-03-26 19:02:17 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2022-03-30 15:05:05 +0200 |
commit | 643c285c20abab5dadaa5c1929d978b725911b5d (patch) | |
tree | 7472dcac30c7707b9fb118db447b0f2c604cac30 /src/tools/time_utils.h | |
parent | 8a066315ef2d6baeeece08b94f86ad54e1ec6ee2 (diff) | |
download | ouroboros-643c285c20abab5dadaa5c1929d978b725911b5d.tar.gz ouroboros-643c285c20abab5dadaa5c1929d978b725911b5d.zip |
lib: Move timerwheel processing to its own thread
This is the first step moving away from scheduling the FRCT and flow
monitoring functions as part of the IPC calls (flow_read / flow_write
/ fevent) and towards the more scalable (and far less complicated)
implementation to take care of these functions in separate threads.
If a process creates the first flow that requires FRCT, it will spin
up a thread to process events on the timerwheel (retransmissions and
delayed ACKs). This single thread lives until the last flow with FRCT
is deallocated.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools/time_utils.h')
0 files changed, 0 insertions, 0 deletions