mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 22:48:21 +00:00
kernel: finish work of removing interruptible mutexes
This commit is contained in:
@@ -23,7 +23,7 @@ static struct flanterm_context *term_ctx;
|
||||
static mutex_t term_mutex;
|
||||
|
||||
void term_write(char *str, size_t count) {
|
||||
MUTEX_ACQUIRE(&term_mutex, false);
|
||||
MUTEX_ACQUIRE(&term_mutex);
|
||||
flanterm_write(term_ctx, str, count);
|
||||
MUTEX_RELEASE(&term_mutex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user