fixing release fiber
This commit is contained in:
parent
34578d2370
commit
21deb45728
@ -272,7 +272,8 @@ void setupThread(Action a, TValue arg = 0, void (*runner)(Thread *) = NULL, TVal
|
|||||||
}
|
}
|
||||||
|
|
||||||
void releaseFiber() {
|
void releaseFiber() {
|
||||||
// called from main in pxt.cpp
|
stopUser();
|
||||||
|
pthread_exit(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void runInParallel(Action a) {
|
void runInParallel(Action a) {
|
||||||
|
Loading…
Reference in New Issue
Block a user