Structure to transfer data between core and UI threads. More...
Public Attributes | |
unsigned int | cookie |
int | result |
size_t | size |
void * | data |
Structure to transfer data between core and UI threads.
This structure is moved between the UI and the core threads. Before every access to it, a mutex must be locked with core_mutex_lock() .
After a command was completed that was delegated to the core thread, the core calls ui_wakeup() and the UI uses the cookie field of this structure to queue the corresponding callback for the command.
int core_data::result |