diff options
author | Maria Matejka <mq@ucw.cz> | 2022-07-28 19:49:03 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-07-28 19:49:03 +0200 |
commit | e858dce757f8766a29f2151ec3ffef3df85af66b (patch) | |
tree | 3d60cd0d5da345aac0c852b166eb04bec91f3632 /sysdep/unix/io-loop.h | |
parent | 00f6b162c9c357bddf48d52d08b6abb6010004b6 (diff) |
Moved the thread starting code to IO loop code
Diffstat (limited to 'sysdep/unix/io-loop.h')
-rw-r--r-- | sysdep/unix/io-loop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdep/unix/io-loop.h b/sysdep/unix/io-loop.h index 4024b6c5..ca4322fc 100644 --- a/sysdep/unix/io-loop.h +++ b/sysdep/unix/io-loop.h @@ -21,9 +21,13 @@ struct birdloop u8 poll_changed; u8 close_scheduled; + uint ping_pending; _Atomic u32 ping_sent; int wakeup_fds[2]; + pthread_t thread_id; + pthread_attr_t thread_attr; + uint links; void (*stopped)(void *data); |