summaryrefslogtreecommitdiff
path: root/src/main/portfolio.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-06-24 18:44:15 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2014-06-25 10:44:54 -0400
commitb4e8ea46bed824f1403b1dddcf56a0e8a56bb380 (patch)
tree70ce76501ae9feb98eaf408d0e931e27f6729f18 /src/main/portfolio.h
parent7e5245639848594e5ff72a5104c340defe4aac7c (diff)
Stack-size portfolio fix. If using Boost 1.50, --thread-stack=MB is now supported.
Diffstat (limited to 'src/main/portfolio.h')
-rw-r--r--src/main/portfolio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/portfolio.h b/src/main/portfolio.h
index c2d313a44..6b75780da 100644
--- a/src/main/portfolio.h
+++ b/src/main/portfolio.h
@@ -30,6 +30,7 @@ template<typename T, typename S>
std::pair<int, S> runPortfolio(int numThreads,
boost::function<T()> driverFn,
boost::function<S()> threadFns[],
+ size_t stackSize,
bool optionWaitToJoin,
TimerStat& statWaitTime);
// as we have defined things, S=void would give compile errors
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback