No Description

Jeremy Soller 2a260e02a9 sched_yield will sleep with 0 msecs 3 years ago
doc 442a7e6c15 Added OSAL API, Doxygen config and CSS files 16 years ago
platform f531db8a68 Handle DESTDIR in install target 10 years ago
tests 062c5bc4df Initial commit 16 years ago
ANNOUNCE 062c5bc4df Initial commit 16 years ago
CONTRIBUTORS.ptw32 062c5bc4df Initial commit 16 years ago
COPYING 062c5bc4df Initial commit 16 years ago
COPYING.LIB 062c5bc4df Initial commit 16 years ago
Makefile b08f3c5cab Always compile with fPIC 5 years ago
README 49cecdfe23 Fixed spelling in README 12 years ago
cleanup.c 062c5bc4df Initial commit 16 years ago
create.c a12978ccca Make pthread_t a void * 5 years ago
global.c 062c5bc4df Initial commit 16 years ago
implement.h 7af8bdd54f Add stubs for pthread_condattr_{get,set}clock 5 years ago
pte_callUserDestroyRoutines.c a12978ccca Make pthread_t a void * 5 years ago
pte_cancellable_wait.c a12978ccca Make pthread_t a void * 5 years ago
pte_cond_check_need_init.c 062c5bc4df Initial commit 16 years ago
pte_detach.c 062c5bc4df Initial commit 16 years ago
pte_generic_osal.h 062c5bc4df Initial commit 16 years ago
pte_getprocessors.c 062c5bc4df Initial commit 16 years ago
pte_is_attr.c 062c5bc4df Initial commit 16 years ago
pte_mutex_check_need_init.c 062c5bc4df Initial commit 16 years ago
pte_new.c a12978ccca Make pthread_t a void * 5 years ago
pte_osal.h cf594e6867 Update pte_osThreadHandle type 5 years ago
pte_relmillisecs.c 9fbd15376b Do not define int64_t 6 years ago
pte_reuse.c a12978ccca Make pthread_t a void * 5 years ago
pte_rwlock_cancelwrwait.c 062c5bc4df Initial commit 16 years ago
pte_rwlock_check_need_init.c 062c5bc4df Initial commit 16 years ago
pte_spinlock_check_need_init.c 062c5bc4df Initial commit 16 years ago
pte_threadDestroy.c a12978ccca Make pthread_t a void * 5 years ago
pte_threadStart.c a12978ccca Make pthread_t a void * 5 years ago
pte_throw.c 062c5bc4df Initial commit 16 years ago
pte_tkAssocCreate.c 062c5bc4df Initial commit 16 years ago
pte_tkAssocDestroy.c 062c5bc4df Initial commit 16 years ago
pte_types.h 6720dfdc95 Add makefile and include osal and types 5 years ago
pthread.h 7af8bdd54f Add stubs for pthread_condattr_{get,set}clock 5 years ago
pthread_attr_destroy.c 062c5bc4df Initial commit 16 years ago
pthread_attr_getdetachstate.c 062c5bc4df Initial commit 16 years ago
pthread_attr_getinheritsched.c 062c5bc4df Initial commit 16 years ago
pthread_attr_getschedparam.c 062c5bc4df Initial commit 16 years ago
pthread_attr_getschedpolicy.c 062c5bc4df Initial commit 16 years ago
pthread_attr_getscope.c 062c5bc4df Initial commit 16 years ago
pthread_attr_getstackaddr.c 062c5bc4df Initial commit 16 years ago
pthread_attr_getstacksize.c 062c5bc4df Initial commit 16 years ago
pthread_attr_init.c 062c5bc4df Initial commit 16 years ago
pthread_attr_setdetachstate.c 062c5bc4df Initial commit 16 years ago
pthread_attr_setinheritsched.c 062c5bc4df Initial commit 16 years ago
pthread_attr_setschedparam.c 062c5bc4df Initial commit 16 years ago
pthread_attr_setschedpolicy.c 062c5bc4df Initial commit 16 years ago
pthread_attr_setscope.c 062c5bc4df Initial commit 16 years ago
pthread_attr_setstackaddr.c 062c5bc4df Initial commit 16 years ago
pthread_attr_setstacksize.c 062c5bc4df Initial commit 16 years ago
pthread_barrier_destroy.c 062c5bc4df Initial commit 16 years ago
pthread_barrier_init.c 062c5bc4df Initial commit 16 years ago
pthread_barrier_wait.c 062c5bc4df Initial commit 16 years ago
pthread_barrierattr_destroy.c 062c5bc4df Initial commit 16 years ago
pthread_barrierattr_getpshared.c 062c5bc4df Initial commit 16 years ago
pthread_barrierattr_init.c 062c5bc4df Initial commit 16 years ago
pthread_barrierattr_setpshared.c 062c5bc4df Initial commit 16 years ago
pthread_cancel.c a12978ccca Make pthread_t a void * 5 years ago
pthread_cond_destroy.c 062c5bc4df Initial commit 16 years ago
pthread_cond_init.c 062c5bc4df Initial commit 16 years ago
pthread_cond_signal.c 062c5bc4df Initial commit 16 years ago
pthread_cond_wait.c 062c5bc4df Initial commit 16 years ago
pthread_condattr_destroy.c 062c5bc4df Initial commit 16 years ago
pthread_condattr_getclock.c 7af8bdd54f Add stubs for pthread_condattr_{get,set}clock 5 years ago
pthread_condattr_getpshared.c 062c5bc4df Initial commit 16 years ago
pthread_condattr_init.c 062c5bc4df Initial commit 16 years ago
pthread_condattr_setclock.c 7af8bdd54f Add stubs for pthread_condattr_{get,set}clock 5 years ago
pthread_condattr_setpshared.c 062c5bc4df Initial commit 16 years ago
pthread_delay_np.c a12978ccca Make pthread_t a void * 5 years ago
pthread_detach.c a12978ccca Make pthread_t a void * 5 years ago
pthread_equal.c a12978ccca Make pthread_t a void * 5 years ago
pthread_exit.c 062c5bc4df Initial commit 16 years ago
pthread_getconcurrency.c 062c5bc4df Initial commit 16 years ago
pthread_getschedparam.c a12978ccca Make pthread_t a void * 5 years ago
pthread_getspecific.c 062c5bc4df Initial commit 16 years ago
pthread_init.c 91f0dd6e3f Require that libc calls init and terminate 5 years ago
pthread_join.c a12978ccca Make pthread_t a void * 5 years ago
pthread_key_create.c 062c5bc4df Initial commit 16 years ago
pthread_key_delete.c 062c5bc4df Initial commit 16 years ago
pthread_kill.c a12978ccca Make pthread_t a void * 5 years ago
pthread_mutex_destroy.c 062c5bc4df Initial commit 16 years ago
pthread_mutex_init.c a12978ccca Make pthread_t a void * 5 years ago
pthread_mutex_lock.c 062c5bc4df Initial commit 16 years ago
pthread_mutex_timedlock.c 062c5bc4df Initial commit 16 years ago
pthread_mutex_trylock.c 062c5bc4df Initial commit 16 years ago
pthread_mutex_unlock.c 0fd936b4d4 pthread_mutex_unlock: Return EINVAL when given NULL mutex 5 years ago
pthread_mutexattr_destroy.c 062c5bc4df Initial commit 16 years ago
pthread_mutexattr_getkind_np.c 062c5bc4df Initial commit 16 years ago
pthread_mutexattr_getpshared.c 062c5bc4df Initial commit 16 years ago
pthread_mutexattr_gettype.c 062c5bc4df Initial commit 16 years ago
pthread_mutexattr_init.c 062c5bc4df Initial commit 16 years ago
pthread_mutexattr_setkind_np.c 062c5bc4df Initial commit 16 years ago
pthread_mutexattr_setpshared.c 062c5bc4df Initial commit 16 years ago
pthread_mutexattr_settype.c 062c5bc4df Initial commit 16 years ago
pthread_num_processors_np.c 062c5bc4df Initial commit 16 years ago
pthread_once.c 062c5bc4df Initial commit 16 years ago
pthread_rwlock_destroy.c 062c5bc4df Initial commit 16 years ago
pthread_rwlock_init.c 062c5bc4df Initial commit 16 years ago
pthread_rwlock_rdlock.c 062c5bc4df Initial commit 16 years ago
pthread_rwlock_timedrdlock.c 062c5bc4df Initial commit 16 years ago
pthread_rwlock_timedwrlock.c 062c5bc4df Initial commit 16 years ago
pthread_rwlock_tryrdlock.c 062c5bc4df Initial commit 16 years ago
pthread_rwlock_trywrlock.c 062c5bc4df Initial commit 16 years ago
pthread_rwlock_unlock.c 062c5bc4df Initial commit 16 years ago
pthread_rwlock_wrlock.c 062c5bc4df Initial commit 16 years ago
pthread_rwlockattr_destroy.c 062c5bc4df Initial commit 16 years ago
pthread_rwlockattr_getpshared.c 062c5bc4df Initial commit 16 years ago
pthread_rwlockattr_init.c 062c5bc4df Initial commit 16 years ago
pthread_rwlockattr_setpshared.c 062c5bc4df Initial commit 16 years ago
pthread_self.c a12978ccca Make pthread_t a void * 5 years ago
pthread_setcancelstate.c a12978ccca Make pthread_t a void * 5 years ago
pthread_setcanceltype.c a12978ccca Make pthread_t a void * 5 years ago
pthread_setconcurrency.c 062c5bc4df Initial commit 16 years ago
pthread_setschedparam.c a12978ccca Make pthread_t a void * 5 years ago
pthread_setspecific.c a12978ccca Make pthread_t a void * 5 years ago
pthread_spin_destroy.c 062c5bc4df Initial commit 16 years ago
pthread_spin_init.c 062c5bc4df Initial commit 16 years ago
pthread_spin_lock.c 062c5bc4df Initial commit 16 years ago
pthread_spin_trylock.c 062c5bc4df Initial commit 16 years ago
pthread_spin_unlock.c 062c5bc4df Initial commit 16 years ago
pthread_terminate.c 91f0dd6e3f Require that libc calls init and terminate 5 years ago
pthread_testcancel.c a12978ccca Make pthread_t a void * 5 years ago
pthread_timechange_handler_np.c 062c5bc4df Initial commit 16 years ago
sched.h 714af18cbe Added documentation. 16 years ago
sched_get_priority_max.c 062c5bc4df Initial commit 16 years ago
sched_get_priority_min.c 062c5bc4df Initial commit 16 years ago
sched_setscheduler.c 062c5bc4df Initial commit 16 years ago
sched_yield.c 2a260e02a9 sched_yield will sleep with 0 msecs 3 years ago
sem_close.c 062c5bc4df Initial commit 16 years ago
sem_destroy.c 062c5bc4df Initial commit 16 years ago
sem_getvalue.c 062c5bc4df Initial commit 16 years ago
sem_init.c 062c5bc4df Initial commit 16 years ago
sem_open.c 062c5bc4df Initial commit 16 years ago
sem_post.c 062c5bc4df Initial commit 16 years ago
sem_post_multiple.c 062c5bc4df Initial commit 16 years ago
sem_timedwait.c 062c5bc4df Initial commit 16 years ago
sem_trywait.c 062c5bc4df Initial commit 16 years ago
sem_unlink.c 062c5bc4df Initial commit 16 years ago
sem_wait.c 062c5bc4df Initial commit 16 years ago
semaphore.h 062c5bc4df Initial commit 16 years ago

README

POSIX Threads for embedded systems (PTE)

PTE is an open source implementation of the POSIX API for multithreaded
applications (pthreads). It is intended to be used to provide a pthreads
API for embedded operating systems that do not natively provide a pthreads
API. PTE is designed to be easily portable to such operating systems and only
relies on basic primitives (e.g. semaphores) that are widely supported on most
embedded operating systems.

Currently, PTE has been ported to Texas Instrument's DSP/BIOS and Sony's PSP OS.

PTE is based heavily on Pthreads Win32, an implementation of pthreads
for Windows.

Information on building and porting PTE is available at
https://github.com/jschmidlapp/pthreads-emb/wiki.