|
MAGMA
1.2.0
MatrixAlgebraonGPUandMulticoreArchitectures
|
#include <windows.h>Go to the source code of this file.
Classes | |
| struct | pthread_s |
| struct | pthread_cond_s |
Macros | |
| #define | PTHREAD_MUTEX_INITIALIZER ((pthread_mutex_t) -1) |
| #define | PTHREAD_SCOPE_SYSTEM 1 |
| #define | MAGMA_DLLPORT |
| #define | MAGMA_CDECL __cdecl |
Typedefs | |
| typedef struct pthread_s | pthread_t |
| typedef HANDLE | pthread_mutex_t |
| typedef int | pthread_mutexattr_t |
| typedef int | pthread_attr_t |
| typedef int | pthread_condattr_t |
| typedef struct pthread_cond_s | pthread_cond_t |
| #define MAGMA_CDECL __cdecl |
Definition at line 54 of file magmawinthread.h.
| #define MAGMA_DLLPORT |
Definition at line 53 of file magmawinthread.h.
| #define PTHREAD_MUTEX_INITIALIZER ((pthread_mutex_t) -1) |
Definition at line 49 of file magmawinthread.h.
| #define PTHREAD_SCOPE_SYSTEM 1 |
Definition at line 51 of file magmawinthread.h.
| typedef int pthread_attr_t |
Definition at line 37 of file magmawinthread.h.
| typedef struct pthread_cond_s pthread_cond_t |
| typedef int pthread_condattr_t |
Definition at line 38 of file magmawinthread.h.
| typedef HANDLE pthread_mutex_t |
Definition at line 35 of file magmawinthread.h.
| typedef int pthread_mutexattr_t |
Definition at line 36 of file magmawinthread.h.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_attr_destroy | ( | pthread_attr_t * | attr | ) |
Definition at line 127 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_attr_init | ( | pthread_attr_t * | attr | ) |
Definition at line 122 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_attr_setscope | ( | pthread_attr_t * | attr, |
| int | scope | ||
| ) |
Definition at line 132 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_cond_broadcast | ( | pthread_cond_t * | cond | ) |
Definition at line 239 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_cond_destroy | ( | pthread_cond_t * | cond | ) |
Definition at line 197 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_cond_init | ( | pthread_cond_t * | cond, |
| const pthread_condattr_t * | attr | ||
| ) |
Definition at line 183 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_cond_wait | ( | pthread_cond_t * | cond, |
| pthread_mutex_t * | mutex | ||
| ) |
Definition at line 204 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_create | ( | pthread_t * | tid, |
| const pthread_attr_t * | attr, | ||
| void *(*)(void *) | start, | ||
| void * | arg | ||
| ) |
Definition at line 152 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_equal | ( | pthread_t | thread1, |
| pthread_t | thread2 | ||
| ) |
Definition at line 42 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_join | ( | pthread_t | thread, |
| void ** | value_ptr | ||
| ) |
Definition at line 177 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_mutex_destroy | ( | pthread_mutex_t * | mutex | ) |
Definition at line 117 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_mutex_init | ( | pthread_mutex_t * | mutex, |
| const pthread_mutexattr_t * | attr | ||
| ) |
no security atributes
not owned (initialy) by the creating thread
no name provided: cannot be shared between processes
no security atributes
not owned (initialy) by the creating thread
no name provided: cannot be shared between processes
Definition at line 48 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_mutex_lock | ( | pthread_mutex_t * | mutex | ) |
the wait was succesful
the wait failed
thread killed during the wait
impossible because of INFINITE
the wait was succesful
the wait failed
thread killed during the wait
impossible because of INFINITE
Definition at line 72 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_mutex_trylock | ( | pthread_mutex_t * | mutex | ) |
the wait was succesful
the wait failed
thread killed during the wait
impossible because of INFINITE
the wait was succesful
the wait failed
thread killed during the wait
impossible because of INFINITE
Definition at line 91 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_mutex_unlock | ( | pthread_mutex_t * | mutex | ) |
Definition at line 110 of file magmawinthread.c.
| MAGMA_DLLPORT pthread_t MAGMA_CDECL pthread_self | ( | void | ) |
Definition at line 34 of file magmawinthread.c.
| MAGMA_DLLPORT unsigned int MAGMA_CDECL pthread_self_id | ( | void | ) |
Definition at line 30 of file magmawinthread.c.
| MAGMA_DLLPORT int MAGMA_CDECL pthread_setconcurrency | ( | int | ) |
Definition at line 266 of file magmawinthread.c.