From ea71ccfcfab52f74469231cab4e70552333b590a Mon Sep 17 00:00:00 2001 From: Lubos Dolezel Date: Tue, 7 Jul 2015 21:34:02 +0200 Subject: Move some possibly blocking ops into userintf.cpp event queue (#17) --- src/userintf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/userintf.h') diff --git a/src/userintf.h b/src/userintf.h index fc45866..e9b5606 100644 --- a/src/userintf.h +++ b/src/userintf.h @@ -437,6 +437,9 @@ public: // Get all command names const list& get_all_commands(void); + // Asynchronously run a function on this class' event queue + void run_on_event_queue(std::function fn); + }; void *process_events_main(void *arg); -- cgit v1.2.3