PLASMA
2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
#include "plasmawinthread.h"
#include <limits.h>
#include <process.h>
#include <stdio.h>
#include <plasma.h>
Go to the source code of this file.
Variables | |
CRITICAL_SECTION | plasmawinthread_static_initializer_check_lock |
void *(* | PLASMA_realThStart )(void *) |
int | pthread_conclevel |
This file handles the mapping from pthreads calls to windows threads PLASMA is a software package provided by Univ. of Tennessee, Univ. of California Berkeley and Univ. of Colorado Denver
Definition in file plasmawinthread.c.
unsigned WINAPI PLASMA_winThStart | ( | void * | arg | ) |
Definition at line 145 of file plasmawinthread.c.
References PLASMA_realThStart.
PLASMA_DLLPORT int PLASMA_CDECL pthread_attr_destroy | ( | pthread_attr_t * | attr | ) |
Definition at line 125 of file plasmawinthread.c.
PLASMA_DLLPORT int PLASMA_CDECL pthread_attr_init | ( | pthread_attr_t * | attr | ) |
Definition at line 120 of file plasmawinthread.c.
PLASMA_DLLPORT int PLASMA_CDECL pthread_attr_setscope | ( | pthread_attr_t * | attr, |
int | scope | ||
) |
PLASMA_DLLPORT int PLASMA_CDECL pthread_cond_broadcast | ( | pthread_cond_t * | cond | ) |
Definition at line 237 of file plasmawinthread.c.
PLASMA_DLLPORT int PLASMA_CDECL pthread_cond_destroy | ( | pthread_cond_t * | cond | ) |
Definition at line 195 of file plasmawinthread.c.
PLASMA_DLLPORT int PLASMA_CDECL pthread_cond_init | ( | pthread_cond_t * | cond, |
const pthread_condattr_t * | attr | ||
) |
Definition at line 181 of file plasmawinthread.c.
PLASMA_DLLPORT int PLASMA_CDECL pthread_cond_wait | ( | pthread_cond_t * | cond, |
pthread_mutex_t * | mutex | ||
) |
Definition at line 202 of file plasmawinthread.c.
PLASMA_DLLPORT int PLASMA_CDECL pthread_create | ( | pthread_t * | thread, |
const pthread_attr_t * | attr, | ||
void *(*)(void *) | start, | ||
void * | arg | ||
) |
Definition at line 150 of file plasmawinthread.c.
PLASMA_DLLPORT int PLASMA_CDECL pthread_equal | ( | pthread_t | thread1, |
pthread_t | thread2 | ||
) |
Definition at line 40 of file plasmawinthread.c.
PLASMA_DLLPORT int PLASMA_CDECL pthread_join | ( | pthread_t | thread, |
void ** | value_ptr | ||
) |
PLASMA_DLLPORT int PLASMA_CDECL pthread_mutex_destroy | ( | pthread_mutex_t * | mutex | ) |
Definition at line 115 of file plasmawinthread.c.
PLASMA_DLLPORT int PLASMA_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
Definition at line 46 of file plasmawinthread.c.
PLASMA_DLLPORT int PLASMA_CDECL pthread_mutex_lock | ( | pthread_mutex_t * | mutex | ) |
the wait was succesful
the wait failed
thread killed during the wait
impossible because of INFINITE
Definition at line 70 of file plasmawinthread.c.
PLASMA_DLLPORT int PLASMA_CDECL pthread_mutex_trylock | ( | pthread_mutex_t * | mutex | ) |
the wait was succesful
the wait failed
thread killed during the wait
impossible because of INFINITE
Definition at line 89 of file plasmawinthread.c.
PLASMA_DLLPORT int PLASMA_CDECL pthread_mutex_unlock | ( | pthread_mutex_t * | mutex | ) |
Definition at line 108 of file plasmawinthread.c.
PLASMA_DLLPORT pthread_t PLASMA_CDECL pthread_self | ( | void | ) |
PLASMA_DLLPORT unsigned int PLASMA_CDECL pthread_self_id | ( | void | ) |
Definition at line 28 of file plasmawinthread.c.
PLASMA_DLLPORT int PLASMA_CDECL pthread_setconcurrency | ( | int | level | ) |
Definition at line 264 of file plasmawinthread.c.
void*(* PLASMA_realThStart)(void *) |
Definition at line 140 of file plasmawinthread.c.
CRITICAL_SECTION plasmawinthread_static_initializer_check_lock |
this is needed to get a declaration for _beginthreadex()
Definition at line 25 of file plasmawinthread.c.
int pthread_conclevel |
Definition at line 262 of file plasmawinthread.c.