|
@@ -72,6 +72,7 @@ void Openfiles::closeall()
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -173,6 +174,8 @@ void preprocessing_comp(MPCIO &mpcio, const PRACOptions &opts, char **args)
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
+ } else if (type == 0x83) {
|
|
|
+ tio.cpu_nthreads(num);
|
|
|
}
|
|
|
}
|
|
|
run_coroutines(tio, coroutines);
|
|
@@ -321,6 +324,14 @@ void preprocessing_server(MPCServerIO &mpcsrvio, const PRACOptions &opts, char *
|
|
|
}
|
|
|
});
|
|
|
|
|
|
+ } else if (!strcmp(type, "p")) {
|
|
|
+ unsigned char typetag = 0x83;
|
|
|
+ stio.queue_p0(&typetag, 1);
|
|
|
+ stio.queue_p0(&num, 4);
|
|
|
+ stio.queue_p1(&typetag, 1);
|
|
|
+ stio.queue_p1(&num, 4);
|
|
|
+
|
|
|
+ stio.cpu_nthreads(num);
|
|
|
}
|
|
|
free(arg);
|
|
|
++threadargs;
|