mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-04 00:40:27 +00:00
Make system() and popen() thread safe
This commit is contained in:
parent
997ce29ddc
commit
f52f65b2e3
19 changed files with 135 additions and 31 deletions
|
@ -18,6 +18,7 @@ struct StdioFlush {
|
|||
};
|
||||
|
||||
hidden extern struct StdioFlush __fflush;
|
||||
hidden extern pthread_mutex_t __fflush_lock_obj;
|
||||
|
||||
void __fflush_lock(void);
|
||||
void __fflush_unlock(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue