1 parent 2558067 commit 30421f0Copy full SHA for 30421f0
1 file changed
src/options.cpp
@@ -49,6 +49,10 @@ extern "C" SEXP defaultNumThreads() {
49
50
#include <tthread/tinythread.h>
51
52
+extern "C" SEXP setThreadOptions(SEXP numThreadsSEXP, SEXP stackSizeSEXP) {
53
+ return R_NilValue;
54
+}
55
+
56
extern "C" SEXP defaultNumThreads() {
57
SEXP threadsSEXP = Rf_allocVector(INTSXP, 1);
58
INTEGER(threadsSEXP)[0] = tthread::thread::hardware_concurrency();
0 commit comments