#include "xdasd_thread.h"
#include <xdas_base.h>
#include <stddef.h>
Go to the source code of this file.
Functions | |
thread_t | thread_create (void *(*thread_proc)(void *), void *arg) |
Create a new thread of execution. | |
void * | thread_wait (thread_t th) |
Wait for a thread to terminate. | |
static void | p_operation_cleanup (void *arg) |
A pthread cleanup callback routine. | |
int | sem_create (sem_t *sp, int count) |
Create an inter-thread semaphore object. | |
void | sem_destroy (sem_t *sp) |
Destroy an inter-thread semaphore object. | |
void | sem_wait (sem_t *sp) |
Wait for an inter-thread semaphore signal. | |
void | sem_signal (sem_t *sp, int count) |
Signal an inter-thread semaphore. |
Definition in file xdasd_thread.c.