WIP: Separate process status from context status.

This commit is contained in:
4lDO2
2024-07-15 13:40:53 +02:00
parent 7fbe5c72e9
commit e67c040f69
7 changed files with 90 additions and 48 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ impl WaitCondition {
}
// Wait until notified. Unlocks guard when blocking is ready. Returns false if resumed by a signal or the notify_signal function
pub fn wait<T>(&self, guard: MutexGuard<T>, reason: &'static str) -> bool {
pub fn wait<T>(&self, guard: T, reason: &'static str) -> bool {
let current_context_ref = context::current();
{
{