mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
0a24b4fc3c
The *NSYNC linked list API is good enough that it deserves to be part of the C libray, so this change writes an improved version of it which uses that offsetof() trick from the Linux Kernel. We vendor all of the *NSYNC tests in third_party which helped confirm the needed refactoring is safe This change also deletes more old code that didn't pan out. My goal here is to work towards a vision where the Cosmopolitan core libraries become less experimental and more focused on curation. This better reflects the current level of quality we've managed to achieve.
23 lines
594 B
Text
23 lines
594 B
Text
DESCRIPTION
|
|
|
|
*NSYNC is a synchronization primitives library.
|
|
|
|
LICENSE
|
|
|
|
Apache 2.0
|
|
|
|
ORIGIN
|
|
|
|
git@github.com:google/nsync
|
|
commit ac5489682760393fe21bd2a8e038b528442412a7
|
|
Author: Mike Burrows <m3b@google.com>
|
|
Date: Wed Jun 1 16:47:52 2022 -0700
|
|
|
|
LOCAL CHANGES
|
|
|
|
- nsync_malloc_() is implemented as kmalloc()
|
|
- nsync_mu_semaphore uses Cosmopolitan Futexes
|
|
- block pthread cancellations in nsync_mu_lock_slow_
|
|
- support posix thread cancellations in nsync_cv_wait
|
|
- timespec api was so good that it's now part of libc
|
|
- linked list api was so good that it's now part of libc
|