utd_system/utd_threads.h File Reference

#include <pthread.h>
Include dependency graph for utd_threads.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#define ENTERCRITICALSECTION ( crit_section   )     pthread_mutex_lock (&(crit_section));
#define LEAVECRITICALSECTION ( crit_section   )     pthread_mutex_unlock(&(crit_section));

Typedef Documentation

typedef pthread_mutex_t utd_critical_section
typedef pthread_t utd_thread
typedef void*(* utd_thread_routine)(void *)

Function Documentation

void utd_destroy_thread ( utd_thread  thread  ) 
void utd_end_thread ( utd_thread  thread  ) 

Here is the caller graph for this function:

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

Here is the call graph for this function:


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1