cosmopolitan/libc/thread
Justine Tunney 12d9e1e128
Improve quality of our ANSI C clock() function
It now works most excellently across all supported operating
sytsems (earlier it didn't work on NT and XNU). Demo code is
available in examples/clock.c and this change also adds some
of the newer ANSI C time functions like timespec_get(), plus
timespec_getres() which hasn't even come out yet as it's C23
2022-09-05 23:03:49 -07:00
..
attr.c Refactor some code 2022-05-28 14:09:21 -07:00
freebsd.internal.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
internal.h Make _Thread_local more seamlessly working 2022-07-10 08:27:50 -07:00
key.c Make _Thread_local more seamlessly working 2022-07-10 08:27:50 -07:00
mktls.c Add more missing C / C++ headers 2022-09-04 04:53:52 -07:00
openbsd.internal.h Make fixes and improvements 2022-06-25 21:09:09 -07:00
posixthread.internal.h Improve quality of our ANSI C clock() function 2022-09-05 23:03:49 -07:00
pthread_cond_timedwait.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
pthread_cond_wait.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
pthread_create.c Improve quality of our ANSI C clock() function 2022-09-05 23:03:49 -07:00
pthread_detach.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
pthread_equal.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
pthread_exit.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
pthread_getspecific.c Make _Thread_local more seamlessly working 2022-07-10 08:27:50 -07:00
pthread_getthreadid_np.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
pthread_getunique_np.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
pthread_join.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
pthread_key_create.c Make _Thread_local more seamlessly working 2022-07-10 08:27:50 -07:00
pthread_key_delete.c Add pthread tls api 2022-06-22 07:08:17 -07:00
pthread_key_destruct.c Perform some code cleanup 2022-06-23 10:21:07 -07:00
pthread_self.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
pthread_setspecific.c Make _Thread_local more seamlessly working 2022-07-10 08:27:50 -07:00
self.c Always initialize thread local storage 2022-07-19 00:21:46 -07:00
sem.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
spawn.c Add more missing C / C++ headers 2022-09-04 04:53:52 -07:00
spawn.h Make _Thread_local work across platforms 2022-07-10 04:01:17 -07:00
thread.h Implement POSIX threads API 2022-09-05 08:27:15 -07:00
thread.mk Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
wait.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
xnu.internal.h Improve quality of raise(), abort(), and tkill() 2022-09-03 20:17:54 -07:00
zombie.c Improve quality of our ANSI C clock() function 2022-09-05 23:03:49 -07:00