[orbis-kernel] Implement umtx_wake_umutex

This commit is contained in:
Ivan Chikish 2023-07-10 19:48:37 +03:00
parent 51150f4b07
commit 9a3054a5d1
4 changed files with 32 additions and 15 deletions

View file

@ -38,6 +38,8 @@ struct UmtxChain {
std::pair<const UmtxKey, UmtxCond> *enqueue(UmtxKey &key, Thread *thr);
void erase(std::pair<const UmtxKey, UmtxCond> *obj);
void notify_one(const UmtxKey &key);
void notify_all(const UmtxKey &key);
};
class alignas(__STDCPP_DEFAULT_NEW_ALIGNMENT__) KernelContext final {