Logo Search packages:      
Sourcecode: pcsc-lite version File versions  Download package

thread_generic.h File Reference


Detailed Description

This provides system specific thread calls.

Definition in file thread_generic.h.

#include <pthread.h>

Go to the source code of this file.

Defines

#define PCSCLITE_MUTEX   pthread_mutex_t
#define PCSCLITE_MUTEX_T   pthread_mutex_t*
#define PCSCLITE_THREAD_FUNCTION(f)   void *(*f)(void *)
#define PCSCLITE_THREAD_T   pthread_t
#define THREAD_ATTR_DEFAULT   0
#define THREAD_ATTR_DETACHED   1

Functions

int SYS_MutexDestroy (PCSCLITE_MUTEX_T)
int SYS_MutexInit (PCSCLITE_MUTEX_T)
int SYS_MutexLock (PCSCLITE_MUTEX_T)
int SYS_MutexUnLock (PCSCLITE_MUTEX_T)
int SYS_ThreadCancel (PCSCLITE_THREAD_T *)
int SYS_ThreadCreate (PCSCLITE_THREAD_T *, int, PCSCLITE_THREAD_FUNCTION(), LPVOID)
int SYS_ThreadDetach (PCSCLITE_THREAD_T)
int SYS_ThreadEqual (PCSCLITE_THREAD_T *, PCSCLITE_THREAD_T *)
int SYS_ThreadExit (LPVOID)
int SYS_ThreadJoin (PCSCLITE_THREAD_T *, LPVOID *)
PCSCLITE_THREAD_T SYS_ThreadSelf (void)


Generated by  Doxygen 1.6.0   Back to index