Commentary
This commit is contained in:
parent
8a3cb8daa8
commit
4ae80f9a9f
|
|
@ -3227,6 +3227,7 @@ void V3Partition::finalize(AstNetlist* netlistp) {
|
|||
}
|
||||
|
||||
void V3Partition::selfTest() {
|
||||
UINFO(2, __FUNCTION__ << ": " << endl);
|
||||
PartPropagateCpSelfTest::selfTest();
|
||||
PartPackMTasks::selfTest();
|
||||
PartContraction::selfTest();
|
||||
|
|
|
|||
|
|
@ -183,8 +183,10 @@ void V3ThreadPool::selfTest() {
|
|||
futures.push_back(s().enqueue<void>(std::bind(thirdJob, 100)));
|
||||
futures.push_back(s().enqueue<void>(std::bind(thirdJob, 100)));
|
||||
V3ThreadPool::waitForFutures(futures);
|
||||
|
||||
s().waitIfStopRequested();
|
||||
s().requestExclusiveAccess(std::bind(firstJob, 100));
|
||||
|
||||
auto forthJob = [&]() -> int { return 1234; };
|
||||
std::list<std::future<int>> futuresInt;
|
||||
futuresInt.push_back(s().enqueue<int>(forthJob));
|
||||
|
|
|
|||
|
|
@ -624,6 +624,7 @@ static void verilate(const string& argString) {
|
|||
V3Partition::selfTestNormalizeCosts();
|
||||
V3Broken::selfTest();
|
||||
V3ThreadPool::selfTest();
|
||||
UINFO(2, "selfTest done\n");
|
||||
}
|
||||
|
||||
// Read first filename
|
||||
|
|
|
|||
Loading…
Reference in New Issue