Add threads to the vector

This commit is contained in:
2020-04-22 17:52:32 +02:00
parent be50da1cb7
commit 173f481711
+1 -1
View File
@@ -101,7 +101,7 @@ int main (int argc, char *argv[])
};
for (size_t i=0; i<n_modules; i++) {
thread test(read_thread, i);
threads.emplace_back(read_thread, i);
}
int i_write = 0;