mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Fix MODE=tinylinux build
This commit is contained in:
parent
8c645fa1ee
commit
6be030cd7c
8 changed files with 77 additions and 98 deletions
|
@ -83,12 +83,8 @@ void mu_wipe(void) {
|
|||
pthread_mutex_init(&mu, 0);
|
||||
}
|
||||
|
||||
static atomic_bool once;
|
||||
|
||||
void *Worker(void *arg) {
|
||||
for (int i = 0; i < 20; ++i) {
|
||||
if (!atomic_exchange(&once, true))
|
||||
__print_maps(0);
|
||||
mu_lock();
|
||||
usleep(20);
|
||||
mu_unlock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue