[[ https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-5.0.pdf | OpenMP Application Programming Interface Version 5.0 November 2018 ]], 2.8.2 single Construct, starting with page 89:
- The single construct specifies that the associated structured block is executed by only one of the threads in the team (not necessarily the master thread), in the context of its implicit task.
- Restrictions • A throw executed inside a single region must cause execution to resume within the same single region, and the same thread that threw the exception must catch it.