-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
So, TIL. Clearly it should've been obvious that in 2024, one cannot just _assume_ that reasonable mainstream compilers will support... C11. And thus it looks like that clang on macOS for some really bizarre feature never bothered to implement C11 threads.h (although it supports other C11 APIs and features). So here's me porting over the use of C11 `mutex_t` to pthreads.
- Loading branch information
Showing
1 changed file
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters