Sem descrição

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

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.