mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Add pthread attributes and other libc functions
This commit is contained in:
parent
d5c9308a43
commit
4339d9f15e
81 changed files with 1111 additions and 428 deletions
|
@ -23,6 +23,5 @@
|
|||
* Acquires reentrant lock on stdio object, blocking if needed.
|
||||
*/
|
||||
void(flockfile)(FILE *f) {
|
||||
f->lock.attr = PTHREAD_MUTEX_RECURSIVE;
|
||||
pthread_mutex_lock(&f->lock);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue