[orbis-kernel] Implement evf syscalls

This commit is contained in:
DH 2023-07-05 01:43:47 +03:00
parent d279166c0b
commit 14cfdd0eb3
10 changed files with 519 additions and 86 deletions

View file

@ -45,7 +45,8 @@ void shared_mutex::impl_lock_shared(unsigned val) {
}
if ((old % c_sig) + c_one >= c_sig)
std::abort; // "shared_mutex overflow"
std::abort(); // "shared_mutex overflow"
impl_wait();
lock_downgrade();
}