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

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