diff options
author | justanothercatgirl <sotov@twistea.su> | 2025-02-08 22:13:52 +0300 |
---|---|---|
committer | justanothercatgirl <sotov@twistea.su> | 2025-02-08 22:13:52 +0300 |
commit | cab382db088d9f240253466a1c5a26c62f3967c8 (patch) | |
tree | c5502f1b49211dccd3e29e163e708708495a6407 /server/channel.h | |
parent | 3eeee14d5d5c93ae3d156aabae5a96d1c09f185a (diff) |
TODO: Implement multiplexing in worker threads (UDP loops), implement
channel_pool interface.
Diffstat (limited to 'server/channel.h')
-rw-r--r-- | server/channel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/channel.h b/server/channel.h index 8068a4c..549ff21 100644 --- a/server/channel.h +++ b/server/channel.h @@ -18,10 +18,12 @@ struct thread_loop_arg { pthread_mutex_t *sock_mx; pthread_cond_t *sock_ready_cond; u64 owner; - const unsigned char *pubkey; + int pipefd; }; // main function that manages every channel void *thread_loop(void *); +void *new_thread_loop(void *); #endif // KV_SERVER_CHANNEL_H +/* vim: set ts=8 noet: */ |