Searched refs:termios_spinlock (Results 1 – 1 of 1) sorted by relevance
67 static _Atomic int termios_spinlock; variable302 while (!atomic_compare_exchange_strong(&termios_spinlock, &expected, 1)); in uv_tty_set_mode()309 atomic_store(&termios_spinlock, 0); in uv_tty_set_mode()349 while (!atomic_compare_exchange_strong(&termios_spinlock, &expected, 1)); in uv__tty_close()362 atomic_store(&termios_spinlock, 0); in uv__tty_close()485 if (atomic_exchange(&termios_spinlock, 1)) in uv_tty_reset_mode()492 atomic_store(&termios_spinlock, 0); in uv_tty_reset_mode()
Completed in 3 milliseconds