|
Data Structures |
| struct | MicrofeedThreadFunctions |
Typedefs |
| typedef struct _MicrofeedThread | MicrofeedThread |
| | Opaque data type representing thread.
|
| typedef struct _MicrofeedThreadPool | MicrofeedThreadPool |
| typedef struct _MicrofeedMutex | MicrofeedMutex |
| | Opaque data type representing mutex.
|
| typedef void *(* | MicrofeedThreadFunction )(void *data) |
| typedef void(* | MicrofeedThreadExitCallback )(MicrofeedThread *thread, void *user_data) |
Functions |
| void | microfeed_thread_set_functions (MicrofeedThreadFunctions *thread_functions) |
| | Sets the functions that implements the thread and mutex operations.
|
| void | microfeed_thread_init (void) |
| void | microfeed_thread_cleanup (void) |
| MicrofeedThread * | microfeed_thread_new (MicrofeedThreadFunction function, void *data) |
| MicrofeedThread * | microfeed_thread_new_with_exit_callback (MicrofeedThreadFunction function, void *data, MicrofeedThreadExitCallback exit_callback, void *user_data) |
| void | microfeed_thread_free (MicrofeedThread *thread) |
| MicrofeedThread * | microfeed_thread_ref (MicrofeedThread *thread) |
| void | microfeed_thread_unref (MicrofeedThread *thread) |
| MicrofeedThread * | microfeed_thread_get_current (void) |
| void | microfeed_thread_send_signal (MicrofeedThread *thread, int signal_number) |
| void | microfeed_thread_join (MicrofeedThread *thread) |
| unsigned long | microfeed_thread_get_id (MicrofeedThread *thread) |
| MicrofeedThreadPool * | microfeed_thread_pool_new (unsigned int maximum_thread_count) |
| MicrofeedThreadPool * | microfeed_thread_pool_new_with_exit_callback (unsigned int max_threads, MicrofeedThreadExitCallback exit_callback, void *user_data) |
| |
|
| MicrofeedThread * | microfeed_thread_pool_queue_thread (MicrofeedThreadPool *thread_pool, MicrofeedThreadFunction function, void *data) |
| MicrofeedThread * | microfeed_thread_pool_queue_thread_with_exit_callback (MicrofeedThreadPool *thread_pool, MicrofeedThreadFunction function, void *data, MicrofeedThreadExitCallback exit_callback, void *user_data) |
| unsigned int | microfeed_thread_pool_get_started_thread_count (MicrofeedThreadPool *thread_pool) |
| unsigned int | microfeed_thread_pool_get_waiting_thread_count (MicrofeedThreadPool *thread_pool) |
| void | microfeed_thread_pool_set_maximum_thread_count (MicrofeedThreadPool *thread_pool, unsigned int maximum_thread_count) |
| MicrofeedMutex * | microfeed_mutex_new (void) |
| void | microfeed_mutex_free (MicrofeedMutex *mutex) |
| void | microfeed_mutex_lock (MicrofeedMutex *mutex) |
| void | microfeed_mutex_unlock (MicrofeedMutex *mutex) |