Issue #2949 Run background checks during long multiplications

This commit is contained in:
DavePutz 2020-07-13 22:27:06 -05:00 committed by GitHub
parent 40f1bd0c7c
commit e963cff72d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -444,8 +444,11 @@ STATIC size_t mpn_mul(mpz_dig_t *idig, mpz_dig_t *jdig, size_t jlen, mpz_dig_t *
} }
ilen = id - oidig; ilen = id - oidig;
// check to prevent usb starvation
RUN_BACKGROUND_TASKS;
} }
return ilen; return ilen;
} }