event: add function BlockingCall()
Replaces io_thread_call(). This approach is more generic and easier to use due to std::function.
This commit is contained in:
@@ -62,10 +62,4 @@ gcc_pure
|
||||
bool
|
||||
io_thread_inside(void);
|
||||
|
||||
/**
|
||||
* Call a function synchronously in the I/O thread.
|
||||
*/
|
||||
gpointer
|
||||
io_thread_call(GThreadFunc function, gpointer data);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user