[orbis-kernel] Implement umtx_cv_signal/broadcast

This commit is contained in:
Ivan Chikish 2023-07-11 08:48:12 +03:00
parent e01dfbfbe7
commit eda542561c
2 changed files with 22 additions and 7 deletions

View file

@ -38,8 +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);
uint notify_one(const UmtxKey &key);
uint notify_all(const UmtxKey &key);
};
class alignas(__STDCPP_DEFAULT_NEW_ALIGNMENT__) KernelContext final {