cosmopolitan/libc/thread
Justine Tunney 06ace4e7b4
Always use compiler builtin for offsetof()
We have received multiple reports of GCC breaking builds when compiler
flags like `-std=c11` were being passed. The workaround until the next
release is to simply not define `__STRICT_ANSI__` which is a bad idea.
2023-12-07 14:20:12 -08:00
..
__cxa_thread_atexit.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
__cxa_thread_atexit_impl.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
alarm.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
BUILD.mk Rename makefiles BUILD.mk 2023-11-28 11:21:08 -08:00
freebsd.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
getitimer.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
itimer.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
itimer.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
makecontext.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
mktls.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
openbsd.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
posixthread.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pt.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pthread_atfork.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_destroy.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_getdetachstate.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_getguardsize.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_getinheritsched.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_getschedparam.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_getschedpolicy.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_getscope.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_getsigmask_np.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_getstack.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_getstacksize.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_init.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_setdetachstate.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_setguardsize.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_setinheritsched.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_setschedparam.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_setschedpolicy.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_setscope.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_setsigmask_np.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_setstack.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_attr_setstacksize.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_barrier_destroy.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_barrier_init.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_barrier_wait.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_barrierattr_destroy.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_barrierattr_getpshared.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_barrierattr_init.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_barrierattr_setpshared.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_cancel.c Always use compiler builtin for offsetof() 2023-12-07 14:20:12 -08:00
pthread_cond_broadcast.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_cond_destroy.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_cond_init.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_cond_signal.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_cond_timedwait.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_cond_wait.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_condattr_destroy.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_condattr_getpshared.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_condattr_init.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_condattr_setpshared.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_create.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_detach.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_equal.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_exit.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_getaffinity_np.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_getattr_np.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_getname_np.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_getschedparam.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_getspecific.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_getthreadid_np.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_getunique_np.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_join.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_key_create.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_key_delete.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_keys.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_kill.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_once.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_orphan_np.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_reschedule.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_rwlock_destroy.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_rwlock_init.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_rwlock_rdlock.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_rwlock_tryrdlock.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_rwlock_trywrlock.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_rwlock_unlock.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_rwlock_wrlock.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_rwlockattr_destroy.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_rwlockattr_getpshared.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_rwlockattr_init.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_rwlockattr_setpshared.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_self.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_setaffinity_np.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_setcanceltype.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_setname_np.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_setschedparam.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_setschedparam_freebsd.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_setschedprio.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_sigmask.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_timedjoin_np.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_tryjoin_np.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_ungarbage.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
pthread_zombify.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
README.md Use *NSYNC for POSIX threads locking APIs 2022-09-11 11:04:50 -07:00
sem_destroy.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
sem_getvalue.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
sem_init.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
sem_open.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
sem_post.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
sem_timedwait.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
sem_trywait.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
sem_wait.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
semaphore.h Reduce header complexity 2023-11-28 14:39:42 -08:00
setitimer.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
thread.h Cleanup inline locking code 2023-11-29 00:36:22 -08:00
thread2.h Reduce header complexity 2023-11-28 14:39:42 -08:00
tls.h Remove bool from public headers 2023-11-15 20:58:46 -08:00
tls2.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ualarm.c Fix vi modelines (#989) 2023-12-05 14:37:54 -08:00
xnu.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00

Cosmpolitan POSIX Threads Library

Cosmopolitan Libc implements threading as it is written in The Open Group Base Specifications Issue 7, 2018 edition IEEE Std 1003.1-2017 (Revision of IEEE Std 1003.1-2008) in addition to GNU extensions.