bignum nogvl is offload safe. (#12132)
This commit is contained in:
parent
03ff7db5fe
commit
89deb38736
Notes:
git
2024-11-21 00:46:56 +00:00
Merged-By: ioquatix <samuel@codeotaku.com>
2
bignum.c
2
bignum.c
@ -2699,7 +2699,7 @@ bigdivrem_restoring(BDIGIT *zds, size_t zn, BDIGIT *yds, size_t yn)
|
||||
if (bds.zn > 10000 || bds.yn > 10000) {
|
||||
retry:
|
||||
bds.stop = Qfalse;
|
||||
rb_nogvl(bigdivrem1, &bds, rb_big_stop, &bds, RB_NOGVL_UBF_ASYNC_SAFE);
|
||||
rb_nogvl(bigdivrem1, &bds, rb_big_stop, &bds, RB_NOGVL_UBF_ASYNC_SAFE | RB_NOGVL_OFFLOAD_SAFE);
|
||||
|
||||
if (bds.stop == Qtrue) {
|
||||
/* execute trap handler, but exception was not raised. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user