Code for openmp dissemination barrier