parallel-runtimes / lomp

Little OpenMP Library
Apache License 2.0
153 stars 17 forks source link

Runtime shutdown/pause #53

Open jprotze opened 2 years ago

jprotze commented 2 years ago

Is your feature request related to a problem? Please describe. One of the basic requirements for #11 is a clean runtime shutdown, which notifies all worker threads about the shutdown. Doing the shutdown properly might also be useful for implementing the pause runtime routines.

Describe the solution you'd like The runtime should detect the end of execution and initiate a clean shutdown, releasing resources.

Describe alternatives you've considered None

Additional context None

We are working on an initial implementation for this issue.