Boost.UI
User Interface Boost library
Functions
Thread support

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

Function Documentation

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.