Ingen beskrivning

Jeremy Soller 4b87ab0dcd Add pointers to pthread_init and pthread_terminate 6 år sedan
doc 442a7e6c15 Added OSAL API, Doxygen config and CSS files 17 år sedan
platform f531db8a68 Handle DESTDIR in install target 11 år sedan
tests 062c5bc4df Initial commit 17 år sedan
ANNOUNCE 062c5bc4df Initial commit 17 år sedan
CONTRIBUTORS.ptw32 062c5bc4df Initial commit 17 år sedan
COPYING 062c5bc4df Initial commit 17 år sedan
COPYING.LIB 062c5bc4df Initial commit 17 år sedan
Makefile 6720dfdc95 Add makefile and include osal and types 6 år sedan
README 49cecdfe23 Fixed spelling in README 13 år sedan
cleanup.c 062c5bc4df Initial commit 17 år sedan
create.c 062c5bc4df Initial commit 17 år sedan
global.c 062c5bc4df Initial commit 17 år sedan
implement.h 062c5bc4df Initial commit 17 år sedan
need_errno.h 062c5bc4df Initial commit 17 år sedan
pte_callUserDestroyRoutines.c 062c5bc4df Initial commit 17 år sedan
pte_cancellable_wait.c 062c5bc4df Initial commit 17 år sedan
pte_cond_check_need_init.c 062c5bc4df Initial commit 17 år sedan
pte_detach.c 062c5bc4df Initial commit 17 år sedan
pte_generic_osal.h 062c5bc4df Initial commit 17 år sedan
pte_getprocessors.c 062c5bc4df Initial commit 17 år sedan
pte_is_attr.c 062c5bc4df Initial commit 17 år sedan
pte_mutex_check_need_init.c 062c5bc4df Initial commit 17 år sedan
pte_new.c 062c5bc4df Initial commit 17 år sedan
pte_osal.h 6720dfdc95 Add makefile and include osal and types 6 år sedan
pte_relmillisecs.c 9fbd15376b Do not define int64_t 7 år sedan
pte_reuse.c 062c5bc4df Initial commit 17 år sedan
pte_rwlock_cancelwrwait.c 062c5bc4df Initial commit 17 år sedan
pte_rwlock_check_need_init.c 062c5bc4df Initial commit 17 år sedan
pte_spinlock_check_need_init.c 062c5bc4df Initial commit 17 år sedan
pte_threadDestroy.c 062c5bc4df Initial commit 17 år sedan
pte_threadStart.c 062c5bc4df Initial commit 17 år sedan
pte_throw.c 062c5bc4df Initial commit 17 år sedan
pte_tkAssocCreate.c 062c5bc4df Initial commit 17 år sedan
pte_tkAssocDestroy.c 062c5bc4df Initial commit 17 år sedan
pte_types.h 6720dfdc95 Add makefile and include osal and types 6 år sedan
pthread.h 747ec72619 Add extern "C" around function declarations in pthread.h 16 år sedan
pthread_attr_destroy.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_getdetachstate.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_getinheritsched.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_getschedparam.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_getschedpolicy.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_getscope.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_getstackaddr.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_getstacksize.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_init.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_setdetachstate.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_setinheritsched.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_setschedparam.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_setschedpolicy.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_setscope.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_setstackaddr.c 062c5bc4df Initial commit 17 år sedan
pthread_attr_setstacksize.c 062c5bc4df Initial commit 17 år sedan
pthread_barrier_destroy.c 062c5bc4df Initial commit 17 år sedan
pthread_barrier_init.c 062c5bc4df Initial commit 17 år sedan
pthread_barrier_wait.c 062c5bc4df Initial commit 17 år sedan
pthread_barrierattr_destroy.c 062c5bc4df Initial commit 17 år sedan
pthread_barrierattr_getpshared.c 062c5bc4df Initial commit 17 år sedan
pthread_barrierattr_init.c 062c5bc4df Initial commit 17 år sedan
pthread_barrierattr_setpshared.c 062c5bc4df Initial commit 17 år sedan
pthread_cancel.c 062c5bc4df Initial commit 17 år sedan
pthread_cond_destroy.c 062c5bc4df Initial commit 17 år sedan
pthread_cond_init.c 062c5bc4df Initial commit 17 år sedan
pthread_cond_signal.c 062c5bc4df Initial commit 17 år sedan
pthread_cond_wait.c 062c5bc4df Initial commit 17 år sedan
pthread_condattr_destroy.c 062c5bc4df Initial commit 17 år sedan
pthread_condattr_getpshared.c 062c5bc4df Initial commit 17 år sedan
pthread_condattr_init.c 062c5bc4df Initial commit 17 år sedan
pthread_condattr_setpshared.c 062c5bc4df Initial commit 17 år sedan
pthread_delay_np.c 062c5bc4df Initial commit 17 år sedan
pthread_detach.c 062c5bc4df Initial commit 17 år sedan
pthread_equal.c 062c5bc4df Initial commit 17 år sedan
pthread_exit.c 062c5bc4df Initial commit 17 år sedan
pthread_getconcurrency.c 062c5bc4df Initial commit 17 år sedan
pthread_getschedparam.c 062c5bc4df Initial commit 17 år sedan
pthread_getspecific.c 062c5bc4df Initial commit 17 år sedan
pthread_init.c 4b87ab0dcd Add pointers to pthread_init and pthread_terminate 6 år sedan
pthread_join.c 062c5bc4df Initial commit 17 år sedan
pthread_key_create.c 062c5bc4df Initial commit 17 år sedan
pthread_key_delete.c 062c5bc4df Initial commit 17 år sedan
pthread_kill.c 062c5bc4df Initial commit 17 år sedan
pthread_mutex_destroy.c 062c5bc4df Initial commit 17 år sedan
pthread_mutex_init.c 062c5bc4df Initial commit 17 år sedan
pthread_mutex_lock.c 062c5bc4df Initial commit 17 år sedan
pthread_mutex_timedlock.c 062c5bc4df Initial commit 17 år sedan
pthread_mutex_trylock.c 062c5bc4df Initial commit 17 år sedan
pthread_mutex_unlock.c 062c5bc4df Initial commit 17 år sedan
pthread_mutexattr_destroy.c 062c5bc4df Initial commit 17 år sedan
pthread_mutexattr_getkind_np.c 062c5bc4df Initial commit 17 år sedan
pthread_mutexattr_getpshared.c 062c5bc4df Initial commit 17 år sedan
pthread_mutexattr_gettype.c 062c5bc4df Initial commit 17 år sedan
pthread_mutexattr_init.c 062c5bc4df Initial commit 17 år sedan
pthread_mutexattr_setkind_np.c 062c5bc4df Initial commit 17 år sedan
pthread_mutexattr_setpshared.c 062c5bc4df Initial commit 17 år sedan
pthread_mutexattr_settype.c 062c5bc4df Initial commit 17 år sedan
pthread_num_processors_np.c 062c5bc4df Initial commit 17 år sedan
pthread_once.c 062c5bc4df Initial commit 17 år sedan
pthread_rwlock_destroy.c 062c5bc4df Initial commit 17 år sedan
pthread_rwlock_init.c 062c5bc4df Initial commit 17 år sedan
pthread_rwlock_rdlock.c 062c5bc4df Initial commit 17 år sedan
pthread_rwlock_timedrdlock.c 062c5bc4df Initial commit 17 år sedan
pthread_rwlock_timedwrlock.c 062c5bc4df Initial commit 17 år sedan
pthread_rwlock_tryrdlock.c 062c5bc4df Initial commit 17 år sedan
pthread_rwlock_trywrlock.c 062c5bc4df Initial commit 17 år sedan
pthread_rwlock_unlock.c 062c5bc4df Initial commit 17 år sedan
pthread_rwlock_wrlock.c 062c5bc4df Initial commit 17 år sedan
pthread_rwlockattr_destroy.c 062c5bc4df Initial commit 17 år sedan
pthread_rwlockattr_getpshared.c 062c5bc4df Initial commit 17 år sedan
pthread_rwlockattr_init.c 062c5bc4df Initial commit 17 år sedan
pthread_rwlockattr_setpshared.c 062c5bc4df Initial commit 17 år sedan
pthread_self.c 062c5bc4df Initial commit 17 år sedan
pthread_setcancelstate.c 062c5bc4df Initial commit 17 år sedan
pthread_setcanceltype.c 062c5bc4df Initial commit 17 år sedan
pthread_setconcurrency.c 062c5bc4df Initial commit 17 år sedan
pthread_setschedparam.c 062c5bc4df Initial commit 17 år sedan
pthread_setspecific.c 062c5bc4df Initial commit 17 år sedan
pthread_spin_destroy.c 062c5bc4df Initial commit 17 år sedan
pthread_spin_init.c 062c5bc4df Initial commit 17 år sedan
pthread_spin_lock.c 062c5bc4df Initial commit 17 år sedan
pthread_spin_trylock.c 062c5bc4df Initial commit 17 år sedan
pthread_spin_unlock.c 062c5bc4df Initial commit 17 år sedan
pthread_terminate.c 4b87ab0dcd Add pointers to pthread_init and pthread_terminate 6 år sedan
pthread_testcancel.c 062c5bc4df Initial commit 17 år sedan
pthread_timechange_handler_np.c 062c5bc4df Initial commit 17 år sedan
sched.h 714af18cbe Added documentation. 17 år sedan
sched_get_priority_max.c 062c5bc4df Initial commit 17 år sedan
sched_get_priority_min.c 062c5bc4df Initial commit 17 år sedan
sched_setscheduler.c 062c5bc4df Initial commit 17 år sedan
sched_yield.c 062c5bc4df Initial commit 17 år sedan
sem_close.c 062c5bc4df Initial commit 17 år sedan
sem_destroy.c 062c5bc4df Initial commit 17 år sedan
sem_getvalue.c 062c5bc4df Initial commit 17 år sedan
sem_init.c 062c5bc4df Initial commit 17 år sedan
sem_open.c 062c5bc4df Initial commit 17 år sedan
sem_post.c 062c5bc4df Initial commit 17 år sedan
sem_post_multiple.c 062c5bc4df Initial commit 17 år sedan
sem_timedwait.c 062c5bc4df Initial commit 17 år sedan
sem_trywait.c 062c5bc4df Initial commit 17 år sedan
sem_unlink.c 062c5bc4df Initial commit 17 år sedan
sem_wait.c 062c5bc4df Initial commit 17 år sedan
semaphore.h 062c5bc4df Initial commit 17 år sedan

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.