Boost.UI
User Interface Boost library
Functions
Thread support

Thread safe async calls. More...

Functions

template<class F , class ... Args>
void boost::ui::call_async (F &&f, Args &&... args)
 Calls f in the idle time in UI thread. This function is thread safe. More...
 

Detailed Description

Thread safe async calls.

Function Documentation

◆ call_async()

template<class F , class ... Args>
void boost::ui::call_async ( F &&  f,
Args &&...  args 
)

Calls f in the idle time in UI thread. This function is thread safe.

See also
Thread safety (Wikipedia)
Examples
asio_chat_client.cpp, and thread.cpp.