// Copyright 2021 Jeisson Hidalgo CC-BY 4.0 #include int main() { #pragma omp parallel { #pragma omp critical std::cout << "Hello from secondary thread" << std::endl; } }