Brak opisu

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

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.