24
edits
Changes
no edit summary
{
int tid = omp_get_thread_num(); // Get the ID of the current thread
std::cout << "Hi from thread " << tid << '\n'; // Print a message showing the ID of the current thread
}
}