Subject: Re: [Boost-users] [Threads] and OpenMP
From: Bjorn Reese (breese_at_[hidden])
Date: 2014-09-30 09:59:43


On 09/30/2014 11:24 AM, Stephan Menzel wrote:

> So the question is: How can I more or less gracefully shut this down?
> How do interruption points work in an omp parallel for loop? Do I have a
> chance at all?

One approach is to execute the tasks in a separate process. The process
can easily be killed, and it takes care of the memory leaks.