td->terminate = 1;
}
-void fio_terminate_threads(int group_id)
+void fio_terminate_threads(unsigned int group_id)
{
struct thread_data *td;
pid_t pid = getpid();
dprint(FD_PROCESS, "terminate group_id=%d\n", group_id);
for_each_td(td, i) {
- if (group_id == TERMINATE_ALL || groupid == td->groupid) {
+ if (group_id == TERMINATE_ALL || group_id == td->groupid) {
dprint(FD_PROCESS, "setting terminate on %s/%d\n",
td->o.name, (int) td->pid);