Soletta™ Framework
|
These routines are used for worker threads manipulation under Soletta. More...
#include <stdbool.h>
#include <inttypes.h>
#include "sol-common-buildopts.h"
Go to the source code of this file.
Data Structures | |
struct | sol_worker_thread_config |
Worker thread functions and context data configuration. More... | |
Macros | |
#define | SOL_WORKER_THREAD_CONFIG_API_VERSION (1) |
Typedefs | |
typedef struct sol_worker_thread | sol_worker_thread |
A worker thread handle. More... | |
typedef struct sol_worker_thread_config | sol_worker_thread_config |
Worker thread functions and context data configuration. More... | |
Functions | |
void | sol_worker_thread_cancel (struct sol_worker_thread *thread) |
Cancel a worker thread. More... | |
void | sol_worker_thread_feedback (struct sol_worker_thread *thread) |
Schedule feedback from the worker to the main thread. More... | |
bool | sol_worker_thread_is_cancelled (const struct sol_worker_thread *thread) |
Check if a worker thread has been marked as cancelled. More... | |
struct sol_worker_thread * | sol_worker_thread_new (const struct sol_worker_thread_config *config) |
Create and run a worker thread. More... | |
These routines are used for worker threads manipulation under Soletta.
#define SOL_WORKER_THREAD_CONFIG_API_VERSION (1) |