File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,22 +42,22 @@ namespace {
4242
4343 std::set<test_node*> consumed_addrs;
4444
45- std::jthread producer1 ([&]() {
45+ std::thread producer1 ([&]() {
4646 for (int i = 0 ; i < num_items_per_producer; ++i) {
4747 queue.push_back (nodes1[i].get ());
4848 produced_count.fetch_add (1 , std::memory_order_relaxed);
4949 }
5050 });
5151
52- std::jthread producer2 ([&]() {
52+ std::thread producer2 ([&]() {
5353 for (int i = 0 ; i < num_items_per_producer; ++i) {
5454 queue.push_back (nodes2[i].get ());
5555 produced_count.fetch_add (1 , std::memory_order_relaxed);
5656 }
5757 });
5858
5959 std::set<int > consumed;
60- std::jthread consumer ([&]() {
60+ std::thread consumer ([&]() {
6161 int count = 0 ;
6262 while (count < total_items) {
6363 test_node* node = queue.pop_front ();
You can’t perform that action at this time.
0 commit comments