Class · aurore
aurore::Threading
#include <aurore/core/thread.hpp>
class aurore::ThreadingStatic functions 10
Enqueue a function to be executed before the application is redrawn the next time.
Aurore is not thread-safe, and sync() provides a mechanism for queuing up UI-related state changes from other threads.
thread.hpp:84Enqueue a function to be executed in parallel with application's main thread.
thread.hpp:90As async(), on a thread of its own for decoding pictures (ThemeImages, Image::setImageFromFileAsync): a large picture does not hold back the tasks of async() (the battery, the Wi-Fi, the app's own).
thread.hpp:97Bounds the time the sync tasks may take on a frame, in microseconds: once it is spent, the tasks left run on the next frames, in order, so a burst of results (a page of covers) does not stall a frame. 0, the default, runs every task on the frame it was queued for.
thread.hpp:115True when no task is queued with sync(), async() or asyncDecode() and none is running on their threads (delay()s are not counted). The test harness waits for it before it calls a screen settled.
thread.hpp:122Read from Aurore's headers by Doxygen at each build · library/include