mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 21:58:20 +00:00
events: finish implementation
This commit is contained in:
+2
-2
@@ -49,7 +49,7 @@ int event_wait(event_t* event, bool interruptible){
|
||||
addtoevent(thread, event);
|
||||
|
||||
|
||||
// ...
|
||||
sched_block(interruptible);
|
||||
|
||||
|
||||
int ret = 0;
|
||||
@@ -87,7 +87,7 @@ int event_signal(event_t* event, bool interruptson){
|
||||
if(!thread)
|
||||
continue;
|
||||
|
||||
// ...
|
||||
sched_eventsignal(event, thread);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user