From 0ef8ef2b474473b13de2cee0165b424e79e4e363 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Fri, 18 Jan 2019 08:37:13 -0800 Subject: vls: multi-process and multi-threaded apps improvements - More fine tuning for multi-process applications. - Experimental support for multi-thread apps. This is meant for app whose threads are not vcl workers and the sessions are shared between them. Change-Id: Ie07651da5f2cdcf39f5dead5431f50ad39cf3f74 Signed-off-by: Florin Coras --- src/vcl/vcl_locked.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vcl/vcl_locked.h') diff --git a/src/vcl/vcl_locked.h b/src/vcl/vcl_locked.h index 4f40f434cc5..2c8f2115230 100644 --- a/src/vcl/vcl_locked.h +++ b/src/vcl/vcl_locked.h @@ -44,6 +44,8 @@ int vls_epoll_ctl (vls_handle_t ep_vlsh, int op, vls_handle_t vlsh, struct epoll_event *event); int vls_epoll_wait (vls_handle_t ep_vlsh, struct epoll_event *events, int maxevents, double wait_for_time); +int vls_select (int n_bits, vcl_si_set * read_map, vcl_si_set * write_map, + vcl_si_set * except_map, double wait_for_time); vcl_session_handle_t vlsh_to_sh (vls_handle_t vlsh); vcl_session_handle_t vlsh_to_session_index (vls_handle_t vlsh); vls_handle_t vls_session_index_to_vlsh (uint32_t session_index); -- cgit 1.2.3-korg