Adapt popBarrier API for OpenMP usage