Skip to content

Commit 30421f0

Browse files
committed
add stub definition for setThreadOptions
1 parent 2558067 commit 30421f0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/options.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ extern "C" SEXP defaultNumThreads() {
4949

5050
#include <tthread/tinythread.h>
5151

52+
extern "C" SEXP setThreadOptions(SEXP numThreadsSEXP, SEXP stackSizeSEXP) {
53+
return R_NilValue;
54+
}
55+
5256
extern "C" SEXP defaultNumThreads() {
5357
SEXP threadsSEXP = Rf_allocVector(INTSXP, 1);
5458
INTEGER(threadsSEXP)[0] = tthread::thread::hardware_concurrency();

0 commit comments

Comments
 (0)