HDF5  1.12.0
Data Structures | Macros | Typedefs | Functions | Variables
H5TSprivate.h File Reference

Go to the source code of this file.

Data Structures

struct  H5TS_mutex_struct
 

Macros

#define H5TS_SCOPE_SYSTEM   PTHREAD_SCOPE_SYSTEM
 
#define H5TS_SCOPE_PROCESS   PTHREAD_SCOPE_PROCESS
 
#define H5TS_CALL_CONV   /* unused - Windows only */
 
#define H5TS_get_thread_local_value(key)   pthread_getspecific( key )
 
#define H5TS_set_thread_local_value(key, value)   pthread_setspecific( key, value )
 
#define H5TS_attr_init(attr_ptr)   pthread_attr_init((attr_ptr))
 
#define H5TS_attr_setscope(attr_ptr, scope)   pthread_attr_setscope(attr_ptr, scope)
 
#define H5TS_attr_destroy(attr_ptr)   pthread_attr_destroy(attr_ptr)
 
#define H5TS_wait_for_thread(thread)   pthread_join(thread, NULL)
 
#define H5TS_mutex_init(mutex)   pthread_mutex_init(mutex, NULL)
 
#define H5TS_mutex_lock_simple(mutex)   pthread_mutex_lock(mutex)
 
#define H5TS_mutex_unlock_simple(mutex)   pthread_mutex_unlock(mutex)
 

Typedefs

typedef struct H5TS_mutex_struct H5TS_mutex_t
 
typedef pthread_t H5TS_thread_t
 
typedef pthread_attr_t H5TS_attr_t
 
typedef pthread_mutex_t H5TS_mutex_simple_t
 
typedef pthread_key_t H5TS_key_t
 
typedef pthread_once_t H5TS_once_t
 

Functions

H5_DLL void H5TS_pthread_first_thread_init (void)
 
H5_DLL herr_t H5TS_mutex_lock (H5TS_mutex_t *mutex)
 
H5_DLL herr_t H5TS_mutex_unlock (H5TS_mutex_t *mutex)
 
H5_DLL herr_t H5TS_cancel_count_inc (void)
 
H5_DLL herr_t H5TS_cancel_count_dec (void)
 
H5_DLL H5TS_thread_t H5TS_create_thread (void *(*func)(void *), H5TS_attr_t *attr, void *udata)
 

Variables

H5TS_once_t H5TS_first_init_g
 
H5TS_key_t H5TS_errstk_key_g
 
H5TS_key_t H5TS_funcstk_key_g
 
H5TS_key_t H5TS_apictx_key_g
 

Macro Definition Documentation

◆ H5TS_attr_destroy

#define H5TS_attr_destroy (   attr_ptr)    pthread_attr_destroy(attr_ptr)

◆ H5TS_attr_init

#define H5TS_attr_init (   attr_ptr)    pthread_attr_init((attr_ptr))

◆ H5TS_attr_setscope

#define H5TS_attr_setscope (   attr_ptr,
  scope 
)    pthread_attr_setscope(attr_ptr, scope)

◆ H5TS_CALL_CONV

#define H5TS_CALL_CONV   /* unused - Windows only */

◆ H5TS_get_thread_local_value

#define H5TS_get_thread_local_value (   key)    pthread_getspecific( key )

◆ H5TS_mutex_init

#define H5TS_mutex_init (   mutex)    pthread_mutex_init(mutex, NULL)

◆ H5TS_mutex_lock_simple

#define H5TS_mutex_lock_simple (   mutex)    pthread_mutex_lock(mutex)

◆ H5TS_mutex_unlock_simple

#define H5TS_mutex_unlock_simple (   mutex)    pthread_mutex_unlock(mutex)

◆ H5TS_SCOPE_PROCESS

#define H5TS_SCOPE_PROCESS   PTHREAD_SCOPE_PROCESS

◆ H5TS_SCOPE_SYSTEM

#define H5TS_SCOPE_SYSTEM   PTHREAD_SCOPE_SYSTEM

◆ H5TS_set_thread_local_value

#define H5TS_set_thread_local_value (   key,
  value 
)    pthread_setspecific( key, value )

◆ H5TS_wait_for_thread

#define H5TS_wait_for_thread (   thread)    pthread_join(thread, NULL)

Typedef Documentation

◆ H5TS_attr_t

typedef pthread_attr_t H5TS_attr_t

◆ H5TS_key_t

typedef pthread_key_t H5TS_key_t

◆ H5TS_mutex_simple_t

typedef pthread_mutex_t H5TS_mutex_simple_t

◆ H5TS_mutex_t

◆ H5TS_once_t

typedef pthread_once_t H5TS_once_t

◆ H5TS_thread_t

typedef pthread_t H5TS_thread_t

Function Documentation

◆ H5TS_cancel_count_dec()

H5_DLL herr_t H5TS_cancel_count_dec ( void  )

◆ H5TS_cancel_count_inc()

H5_DLL herr_t H5TS_cancel_count_inc ( void  )

◆ H5TS_create_thread()

H5_DLL H5TS_thread_t H5TS_create_thread ( void *(*)(void *)  func,
H5TS_attr_t attr,
void *  udata 
)

◆ H5TS_mutex_lock()

H5_DLL herr_t H5TS_mutex_lock ( H5TS_mutex_t mutex)

◆ H5TS_mutex_unlock()

H5_DLL herr_t H5TS_mutex_unlock ( H5TS_mutex_t mutex)

◆ H5TS_pthread_first_thread_init()

H5_DLL void H5TS_pthread_first_thread_init ( void  )

Variable Documentation

◆ H5TS_apictx_key_g

H5TS_key_t H5TS_apictx_key_g

◆ H5TS_errstk_key_g

H5TS_key_t H5TS_errstk_key_g

◆ H5TS_first_init_g

H5TS_once_t H5TS_first_init_g

◆ H5TS_funcstk_key_g

H5TS_key_t H5TS_funcstk_key_g