mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
add thread_delay for run_until
This commit is contained in:
parent
5ea62ce9e0
commit
42c85835d0
@ -209,6 +209,7 @@ void PikaStdTask_Task_run_until_ms(PikaObj* self, int until_ms) {
|
||||
if (obj_getInt(self, "tick") > until_ms) {
|
||||
return;
|
||||
}
|
||||
pika_platform_thread_delay();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -209,6 +209,7 @@ void PikaStdTask_Task_run_until_ms(PikaObj* self, int until_ms) {
|
||||
if (obj_getInt(self, "tick") > until_ms) {
|
||||
return;
|
||||
}
|
||||
pika_platform_thread_delay();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user