diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2022-07-08 16:55:51 +0200 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2022-07-13 08:56:02 +0200 |
commit | 763227aee4a3d86e718c3665fe5fa13055f67f03 (patch) | |
tree | 837a603731335d950e45e7bc2aada9d2448d7a6b /src/ipcpd/raptor/raptor_messages.proto | |
parent | b9d674dc5a63b0206d96ff67366ed84c6d5d2962 (diff) | |
download | ouroboros-763227aee4a3d86e718c3665fe5fa13055f67f03.tar.gz ouroboros-763227aee4a3d86e718c3665fe5fa13055f67f03.zip |
ipcpd: Refactor main functions
The structure of main functions of the IPCPs was a bit strange with a
ipcp_shutdown() call that combined waiting for a terminating signal
with stopping the internal threads. This is now revised into a
symmetrical design of
ipcp_start(), which now includes the create response towards the IRMd.
ipcp_sigwait(), which waits for a shutdown signal
ipcp_stop() that then stops the internal threads.
Now the main() functions of the IPCPs will make sense without checking
what that ipcp_shutdown() functions actually does.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/raptor/raptor_messages.proto')
0 files changed, 0 insertions, 0 deletions