cosmopolitan/test/libc/thread
Justine Tunney 3c61a541bd
Introduce pthread_condattr_setclock()
This is one of the few POSIX APIs that was missing. It lets you choose a
monotonic clock for your condition variables. This might improve perf on
some platforms. It might also grant more flexibility with NTP configs. I
know Qt is one project that believes it needs this. To introduce this, I
needed to change some the *NSYNC APIs, to support passing a clock param.
There's also new benchmarks, demonstrating Cosmopolitan's supremacy over
many libc implementations when it comes to mutex performance. Cygwin has
an alarmingly bad pthread_mutex_t implementation. It is so bad that they
would have been significantly better off if they'd used naive spinlocks.
2024-09-02 23:45:42 -07:00
..
async_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
BUILD.mk Implement proper time zone support 2024-05-04 23:06:37 -07:00
footek_test.c Introduce pthread_condattr_setclock() 2024-09-02 23:45:42 -07:00
makecontext_test.c Release Cosmopolitan v3.6.0 2024-07-23 03:28:19 -07:00
nsync_test.c Introduce pthread_condattr_setclock() 2024-09-02 23:45:42 -07:00
pthread_atfork_test.c Remove __threaded variable 2024-07-28 23:43:30 -07:00
pthread_attr_setsigmask_np_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_barrier_wait_test.c Bring back gc() function 2024-01-08 10:26:28 -08:00
pthread_cancel_deferred_cond_test.c Improve multithreading 2024-07-21 14:40:45 -07:00
pthread_cancel_masked_cond_test.c Improve multithreading 2024-07-21 14:40:45 -07:00
pthread_cancel_masked_read_test.c Improve multithreading 2024-07-21 14:40:45 -07:00
pthread_cancel_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pthread_cond_signal_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pthread_cond_timedwait_test.c Introduce pthread_condattr_setclock() 2024-09-02 23:45:42 -07:00
pthread_create_inherit_mask_test.c Improve multithreading 2024-07-21 14:40:45 -07:00
pthread_create_test.c Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
pthread_detach_test.c Improve multithreading 2024-07-21 14:40:45 -07:00
pthread_exit_test.c Get rid of .internal.h convention in LIBC_INTRIN 2024-07-19 19:38:00 -07:00
pthread_getunique_np_test.c Make POSIX threads improvements 2024-06-30 15:38:59 -07:00
pthread_key_create_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_kill_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pthread_rwlock_rdlock_test.c Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
pthread_setname_np_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sem_open_test.c Bring back gc() function 2024-01-08 10:26:28 -08:00
sem_timedwait_test.c Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
setitimer_test.c Introduce pthread_condattr_setclock() 2024-09-02 23:45:42 -07:00
tls_dtor_test.cc vim spells the c++ filetype 'cpp' 2024-04-24 13:56:37 -07:00