#include "pte_osal.h"
#include "semaphore.h"
#include "sched.h"
Go to the source code of this file.
◆ PTE_ATOMIC_COMPARE_EXCHANGE
◆ PTE_ATOMIC_DECREMENT
◆ PTE_ATOMIC_EXCHANGE
◆ PTE_ATOMIC_EXCHANGE_ADD
◆ PTE_ATOMIC_INCREMENT
◆ PTE_ATTR_VALID
#define PTE_ATTR_VALID ((unsigned long) 0xC4C0FFEE) |
◆ PTE_EPS_CANCEL
#define PTE_EPS_CANCEL (2) |
◆ PTE_EPS_EXIT
◆ PTE_MAX
#define PTE_MAX |
( |
|
a, |
|
|
|
b |
|
) |
| ((a)<(b)?(b):(a)) |
◆ PTE_MIN
#define PTE_MIN |
( |
|
a, |
|
|
|
b |
|
) |
| ((a)>(b)?(b):(a)) |
◆ PTE_OBJECT_AUTO_INIT
#define PTE_OBJECT_AUTO_INIT ((void *) -1) |
◆ PTE_OBJECT_INVALID
#define PTE_OBJECT_INVALID 0 |
◆ PTE_RWLOCK_MAGIC
#define PTE_RWLOCK_MAGIC 0xfacade2 |
◆ PTE_SPIN_LOCKED
#define PTE_SPIN_LOCKED (2) |
◆ PTE_SPIN_UNLOCKED
#define PTE_SPIN_UNLOCKED (1) |
◆ PTE_SPIN_USE_MUTEX
#define PTE_SPIN_USE_MUTEX (3) |
◆ PTE_THREAD_REUSE_EMPTY
◆ pte_mcs_local_node_t
◆ pte_mcs_lock_t
◆ pte_thread_t
◆ ThreadKeyAssoc
◆ ThreadParms
◆ PThreadState
Enumerator |
---|
PThreadStateInitial | |
PThreadStateRunning | |
PThreadStateSuspended | |
PThreadStateCancelPending | |
PThreadStateCanceling | |
PThreadStateException | |
PThreadStateLast | |
◆ pte_callUserDestroyRoutines()
◆ pte_cancellable_wait()
◆ pte_cond_check_need_init()
◆ pte_getprocessors()
int pte_getprocessors |
( |
int * |
count | ) |
|
◆ pte_is_attr()
◆ pte_mcs_lock_acquire()
◆ pte_mcs_lock_release()
◆ pte_mutex_check_need_init()
◆ pte_new()
◆ pte_pop_cleanup_all()
void pte_pop_cleanup_all |
( |
int |
execute | ) |
|
◆ pte_processInitialize()
int pte_processInitialize |
( |
void |
| ) |
|
◆ pte_processTerminate()
◆ pte_relmillisecs()
unsigned int pte_relmillisecs |
( |
const struct timespec * |
abstime | ) |
|
◆ pte_rwlock_cancelwrwait()
void pte_rwlock_cancelwrwait |
( |
void * |
arg | ) |
|
◆ pte_rwlock_check_need_init()
◆ pte_setthreadpriority()
int pte_setthreadpriority |
( |
pthread_t |
thread, |
|
|
int |
policy, |
|
|
int |
priority |
|
) |
| |
◆ pte_spinlock_check_need_init()
◆ pte_thread_detach_and_exit_np()
int pte_thread_detach_and_exit_np |
( |
| ) |
|
◆ pte_thread_detach_np()
int pte_thread_detach_np |
( |
| ) |
|
◆ pte_threadDestroy()
◆ pte_threadExitAndDestroy()
◆ pte_threadReusePop()
◆ pte_threadReusePush()
◆ pte_threadStart()
int pte_threadStart |
( |
void * |
vthreadParms | ) |
|
◆ pte_throw()
void pte_throw |
( |
unsigned int |
exception | ) |
|
◆ pte_tkAssocCreate()
◆ pte_tkAssocDestroy()
◆ sem_wait_nocancel()
int sem_wait_nocancel |
( |
sem_t * |
sem | ) |
|
◆ pte_cleanupKey
◆ pte_concurrency
◆ pte_cond_list_head
◆ pte_cond_list_lock
◆ pte_cond_list_tail
◆ pte_cond_test_init_lock
◆ pte_features
◆ pte_mutex_default_kind
int pte_mutex_default_kind |
◆ pte_mutex_test_init_lock
◆ pte_processInitialized
int pte_processInitialized |
◆ pte_rwlock_test_init_lock
◆ pte_selfThreadKey
◆ pte_spinlock_test_init_lock
◆ pte_thread_reuse_lock
◆ pte_threadReuseBottom
◆ pte_threadReuseTop