No description
  • C 99.5%
  • Makefile 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2021-03-16 21:46:53 -06:00
doc Added OSAL API, Doxygen config and CSS files 2008-04-08 02:05:24 +00:00
platform Handle DESTDIR in install target 2014-03-29 21:49:13 +01:00
tests Initial commit 2008-04-04 20:14:46 +00:00
ANNOUNCE Initial commit 2008-04-04 20:14:46 +00:00
cleanup.c Initial commit 2008-04-04 20:14:46 +00:00
CONTRIBUTORS.ptw32 Initial commit 2008-04-04 20:14:46 +00:00
COPYING Initial commit 2008-04-04 20:14:46 +00:00
COPYING.LIB Initial commit 2008-04-04 20:14:46 +00:00
create.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
global.c Initial commit 2008-04-04 20:14:46 +00:00
implement.h Add stubs for pthread_condattr_{get,set}clock 2019-04-28 07:49:46 -06:00
Makefile Always compile with fPIC 2019-04-11 20:30:50 -06:00
pte_callUserDestroyRoutines.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pte_cancellable_wait.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pte_cond_check_need_init.c Initial commit 2008-04-04 20:14:46 +00:00
pte_detach.c Initial commit 2008-04-04 20:14:46 +00:00
pte_generic_osal.h Initial commit 2008-04-04 20:14:46 +00:00
pte_getprocessors.c Initial commit 2008-04-04 20:14:46 +00:00
pte_is_attr.c Initial commit 2008-04-04 20:14:46 +00:00
pte_mutex_check_need_init.c Initial commit 2008-04-04 20:14:46 +00:00
pte_new.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pte_osal.h Update pte_osThreadHandle type 2019-01-13 17:00:30 -07:00
pte_relmillisecs.c Do not define int64_t 2017-07-31 11:01:23 -07:00
pte_reuse.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pte_rwlock_cancelwrwait.c Initial commit 2008-04-04 20:14:46 +00:00
pte_rwlock_check_need_init.c Initial commit 2008-04-04 20:14:46 +00:00
pte_spinlock_check_need_init.c Initial commit 2008-04-04 20:14:46 +00:00
pte_threadDestroy.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pte_threadStart.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pte_throw.c Initial commit 2008-04-04 20:14:46 +00:00
pte_tkAssocCreate.c Initial commit 2008-04-04 20:14:46 +00:00
pte_tkAssocDestroy.c Initial commit 2008-04-04 20:14:46 +00:00
pte_types.h Add makefile and include osal and types 2018-12-09 11:26:46 -07:00
pthread.h Add stubs for pthread_condattr_{get,set}clock 2019-04-28 07:49:46 -06:00
pthread_attr_destroy.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_getdetachstate.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_getinheritsched.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_getschedparam.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_getschedpolicy.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_getscope.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_getstackaddr.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_getstacksize.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_init.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_setdetachstate.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_setinheritsched.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_setschedparam.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_setschedpolicy.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_setscope.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_setstackaddr.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_attr_setstacksize.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_barrier_destroy.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_barrier_init.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_barrier_wait.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_barrierattr_destroy.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_barrierattr_getpshared.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_barrierattr_init.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_barrierattr_setpshared.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_cancel.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_cond_destroy.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_cond_init.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_cond_signal.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_cond_wait.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_condattr_destroy.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_condattr_getclock.c Add stubs for pthread_condattr_{get,set}clock 2019-04-28 07:49:46 -06:00
pthread_condattr_getpshared.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_condattr_init.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_condattr_setclock.c Add stubs for pthread_condattr_{get,set}clock 2019-04-28 07:49:46 -06:00
pthread_condattr_setpshared.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_delay_np.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_detach.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_equal.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_exit.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_getconcurrency.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_getschedparam.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_getspecific.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_init.c Require that libc calls init and terminate 2019-01-07 19:11:11 -07:00
pthread_join.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_key_create.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_key_delete.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_kill.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_mutex_destroy.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_mutex_init.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_mutex_lock.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_mutex_timedlock.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_mutex_trylock.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_mutex_unlock.c pthread_mutex_unlock: Return EINVAL when given NULL mutex 2019-04-04 19:58:54 -06:00
pthread_mutexattr_destroy.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_mutexattr_getkind_np.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_mutexattr_getpshared.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_mutexattr_gettype.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_mutexattr_init.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_mutexattr_setkind_np.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_mutexattr_setpshared.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_mutexattr_settype.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_num_processors_np.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_once.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_rwlock_destroy.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_rwlock_init.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_rwlock_rdlock.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_rwlock_timedrdlock.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_rwlock_timedwrlock.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_rwlock_tryrdlock.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_rwlock_trywrlock.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_rwlock_unlock.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_rwlock_wrlock.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_rwlockattr_destroy.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_rwlockattr_getpshared.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_rwlockattr_init.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_rwlockattr_setpshared.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_self.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_setcancelstate.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_setcanceltype.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_setconcurrency.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_setschedparam.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_setspecific.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_spin_destroy.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_spin_init.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_spin_lock.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_spin_trylock.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_spin_unlock.c Initial commit 2008-04-04 20:14:46 +00:00
pthread_terminate.c Require that libc calls init and terminate 2019-01-07 19:11:11 -07:00
pthread_testcancel.c Make pthread_t a void * 2018-12-14 15:51:52 -07:00
pthread_timechange_handler_np.c Initial commit 2008-04-04 20:14:46 +00:00
README Fixed spelling in README 2012-02-21 12:46:49 -05:00
sched.h Added documentation. 2008-04-05 04:04:53 +00:00
sched_get_priority_max.c Initial commit 2008-04-04 20:14:46 +00:00
sched_get_priority_min.c Initial commit 2008-04-04 20:14:46 +00:00
sched_setscheduler.c Initial commit 2008-04-04 20:14:46 +00:00
sched_yield.c sched_yield will sleep with 0 msecs 2021-03-16 21:46:53 -06:00
sem_close.c Initial commit 2008-04-04 20:14:46 +00:00
sem_destroy.c Initial commit 2008-04-04 20:14:46 +00:00
sem_getvalue.c Initial commit 2008-04-04 20:14:46 +00:00
sem_init.c Initial commit 2008-04-04 20:14:46 +00:00
sem_open.c Initial commit 2008-04-04 20:14:46 +00:00
sem_post.c Initial commit 2008-04-04 20:14:46 +00:00
sem_post_multiple.c Initial commit 2008-04-04 20:14:46 +00:00
sem_timedwait.c Initial commit 2008-04-04 20:14:46 +00:00
sem_trywait.c Initial commit 2008-04-04 20:14:46 +00:00
sem_unlink.c Initial commit 2008-04-04 20:14:46 +00:00
sem_wait.c Initial commit 2008-04-04 20:14:46 +00:00
semaphore.h Initial commit 2008-04-04 20:14:46 +00:00

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.