mirror of
https://github.com/ParkerTenBroeck/coroutines.git
synced 2026-06-07 05:08:51 -04:00
fixed a number of bugs related to stack frame interpretation
This commit is contained in:
parent
0ad439c4d6
commit
d4771ef4e0
9 changed files with 52 additions and 52 deletions
|
|
@ -38,6 +38,10 @@ public class Jokio implements Runnable{
|
|||
};
|
||||
}
|
||||
|
||||
public static Jokio runtime(Waker waker){
|
||||
return ((Task<?>)waker).runtime();
|
||||
}
|
||||
|
||||
private final HashSet<Task<?>> current = new HashSet<>();
|
||||
private final Queue<Task<?>> woke = new ArrayDeque<>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue