don't check for future or foreign work in atomic mode
This commit is contained in:
parent
27be90e7b7
commit
6e6e30a73a
|
@ -4118,10 +4118,12 @@ void scheme_thread_block(float sleep_time)
|
|||
check_scheduled_kills();
|
||||
|
||||
#ifdef MZ_USE_FUTURES
|
||||
scheme_check_future_work();
|
||||
if (!do_atomic)
|
||||
scheme_check_future_work();
|
||||
#endif
|
||||
#if defined(MZ_USE_MZRT) && !defined(DONT_USE_FOREIGN)
|
||||
scheme_check_foreign_work();
|
||||
if (!do_atomic)
|
||||
scheme_check_foreign_work();
|
||||
#endif
|
||||
|
||||
if (!do_atomic && (sleep_end >= 0.0)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user