microfeed-common/microfeedthread.h File Reference

Go to the source code of this file.

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)
MicrofeedThreadmicrofeed_thread_new (MicrofeedThreadFunction function, void *data)
MicrofeedThreadmicrofeed_thread_new_with_exit_callback (MicrofeedThreadFunction function, void *data, MicrofeedThreadExitCallback exit_callback, void *user_data)
void microfeed_thread_free (MicrofeedThread *thread)
MicrofeedThreadmicrofeed_thread_ref (MicrofeedThread *thread)
void microfeed_thread_unref (MicrofeedThread *thread)
MicrofeedThreadmicrofeed_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)
MicrofeedThreadPoolmicrofeed_thread_pool_new (unsigned int maximum_thread_count)
MicrofeedThreadPoolmicrofeed_thread_pool_new_with_exit_callback (unsigned int max_threads, MicrofeedThreadExitCallback exit_callback, void *user_data)
 
MicrofeedThreadmicrofeed_thread_pool_queue_thread (MicrofeedThreadPool *thread_pool, MicrofeedThreadFunction function, void *data)
MicrofeedThreadmicrofeed_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)
MicrofeedMutexmicrofeed_mutex_new (void)
void microfeed_mutex_free (MicrofeedMutex *mutex)
void microfeed_mutex_lock (MicrofeedMutex *mutex)
void microfeed_mutex_unlock (MicrofeedMutex *mutex)


Generated on Fri Jun 26 21:48:57 2009 for Microfeed by  doxygen 1.5.6