committed by
GitHub
parent
5822b44b15
commit
537855a0b2
@@ -37,7 +37,7 @@ void test_lock() {
|
||||
}
|
||||
|
||||
int main() {
|
||||
constexpr int N = 16;
|
||||
static constexpr int N = 16;
|
||||
std::vector<std::thread> threads;
|
||||
|
||||
for (int i = 0; i < N; ++i) threads.push_back(std::thread(test_lock));
|
||||
|
||||
Reference in New Issue
Block a user