From 6de9242d7b765f655a23136ee0e37aacce236086 Mon Sep 17 00:00:00 2001 From: Roman Khlopkov <roman.khlopkov@demlabs.net> Date: Wed, 11 Nov 2020 15:09:28 +0300 Subject: [PATCH] [*] timerfd timeout returned --- dap-sdk/net/core/dap_timerfd.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dap-sdk/net/core/dap_timerfd.c b/dap-sdk/net/core/dap_timerfd.c index 00f9ed6c37..95d8146c39 100644 --- a/dap-sdk/net/core/dap_timerfd.c +++ b/dap-sdk/net/core/dap_timerfd.c @@ -144,10 +144,11 @@ dap_timerfd_t* dap_timerfd_start_on_worker(dap_worker_t * a_worker, uint64_t a_t l_events_socket->_inheritor = l_timerfd; // fill out dap_timerfd_t structure - l_timerfd->tfd = l_tfd; - l_timerfd->events_socket = l_events_socket; - l_timerfd->callback = a_callback; - l_timerfd->callback_arg = a_callback_arg; + l_timerfd->timeout_ms = a_timeout_ms; + l_timerfd->tfd = l_tfd; + l_timerfd->events_socket = l_events_socket; + l_timerfd->callback = a_callback; + l_timerfd->callback_arg = a_callback_arg; #ifdef DAP_OS_WINDOWS l_timerfd->th = l_th; l_timerfd->pipe_in = l_pipe[1]; -- GitLab