cosmopolitan/test/libc/thread
Justine Tunney 90460ceb3c
Make Cosmo mutexes competitive with Apple Libc
While we have always licked glibc and musl libc on gnu/systemd sadly the
Apple Libc implementation of pthread_mutex_t is better than ours. It may
be due to how the XNU kernel and M2 microprocessor are in league when it
comes to scheduling processes and the NSYNC behavior is being penalized.
We can solve this by leaning more heavily on ulock using Drepper's algo.
It's kind of ironic that Linux's official mutexes work terribly on Linux
but almost as good as Apple Libc if used on MacOS.
2024-09-02 19:03:11 -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 Make Cosmo mutexes competitive with Apple Libc 2024-09-02 19:03:11 -07:00
makecontext_test.c Release Cosmopolitan v3.6.0 2024-07-23 03:28:19 -07:00
nsync_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -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_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 Implement proper time zone support 2024-05-04 23:06:37 -07:00
tls_dtor_test.cc vim spells the c++ filetype 'cpp' 2024-04-24 13:56:37 -07:00