Skip to content

Commit

Permalink
Update concurrent_vectors.cpp
Browse files Browse the repository at this point in the history
fixed a comment
  • Loading branch information
jamesreinders authored Dec 2, 2024
1 parent d78ceeb commit 321e0f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new_examples/containers/concurrent_vectors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void oneway() {
// Create a vector containing integers
tbb::concurrent_vector<int> v = {3, 14, 15, 92};

// Add more integers to vector IN PARALLEL
// Add more integers to vector SERIALLY
for( int i = 100; i < 1000; ++i ) {
v.push_back(i*100+11);
v.push_back(i*100+22);
Expand Down

0 comments on commit 321e0f9

Please sign in to comment.