ext/pf2/src/signal_scheduler.rs in pf2-0.3.0 vs ext/pf2/src/signal_scheduler.rs in pf2-0.4.0
- old
+ new
@@ -54,11 +54,11 @@
kwargs,
[
rb_intern(cstr!("interval_ms")),
rb_intern(cstr!("threads")),
rb_intern(cstr!("time_mode")),
- rb_intern(cstr!("track_new_threads")),
+ rb_intern(cstr!("track_all_threads")),
]
.as_mut_ptr(),
0,
4,
kwargs_values.as_mut_ptr(),
@@ -97,11 +97,11 @@
}
})
} else {
configuration::TimeMode::CpuTime
};
- let track_new_threads: bool = if kwargs_values[3] != Qundef as VALUE {
+ let track_all_threads: bool = if kwargs_values[3] != Qundef as VALUE {
RTEST(kwargs_values[3])
} else {
false
};
@@ -115,10 +115,10 @@
self.configuration = Some(Configuration {
interval,
target_ruby_threads,
time_mode,
- track_new_threads,
+ track_all_threads,
});
Qnil.into()
}