/********************* */ /*! \file portfolio.h ** \verbatim ** Original author: Morgan Deters ** Major contributors: Kshitij Bansal ** Minor contributors (to current version): none ** This file is part of the CVC4 project. ** Copyright (c) 2009-2014 New York University and The University of Iowa ** See the file COPYING in the top-level source directory for licensing ** information.\endverbatim ** ** \brief Provides (somewhat) generic functionality to simulate a ** (potentially cooperative) race **/ #ifndef __CVC4__PORTFOLIO_H #define __CVC4__PORTFOLIO_H #include #include #include "options/options.h" #include "smt/command.h" #include "smt/smt_engine.h" #include "util/statistics_registry.h" namespace CVC4 { template std::pair runPortfolio(int numThreads, boost::function driverFn, boost::function threadFns[], size_t stackSize, bool optionWaitToJoin, TimerStat& statWaitTime); // as we have defined things, S=void would give compile errors // do we want to fix this? yes, no, maybe? }/* CVC4 namespace */ #endif /* __CVC4__PORTFOLIO_H */