#include <pthread.h>

Go to the source code of this file.
Defines | |
| #define | ENTERCRITICALSECTION(crit_section) pthread_mutex_lock (&(crit_section)); |
| #define | LEAVECRITICALSECTION(crit_section) pthread_mutex_unlock(&(crit_section)); |
Typedefs | |
| typedef pthread_t | utd_thread |
| typedef void *(* | utd_thread_routine )(void *) |
| typedef pthread_mutex_t | utd_critical_section |
Functions | |
| utd_thread | utd_start_thread (utd_thread_routine, void *data) |
| void | utd_end_thread (utd_thread thread) |
| void | utd_destroy_thread (utd_thread thread) |
| void | utd_wait_for_threads (const utd_thread *threads, int num) |
Variables | |
| int | utd_internal_error |
| #define ENTERCRITICALSECTION | ( | crit_section | ) | pthread_mutex_lock (&(crit_section)); |
| #define LEAVECRITICALSECTION | ( | crit_section | ) | pthread_mutex_unlock(&(crit_section)); |
| typedef pthread_mutex_t utd_critical_section |
| typedef pthread_t utd_thread |
| typedef void*(* utd_thread_routine)(void *) |
| void utd_destroy_thread | ( | utd_thread | thread | ) |
| void utd_end_thread | ( | utd_thread | thread | ) |

| utd_thread utd_start_thread | ( | utd_thread_routine | , | |
| void * | data | |||
| ) |
| void utd_wait_for_threads | ( | const utd_thread * | threads, | |
| int | num | |||
| ) |

1.6.1