Re: [RFC patch 1/5] kthread: Implement park/unpark facility

Thomas Gleixner
2012-06-14T09:00:05Z

On Thu, 14 Jun 2012, Thomas Gleixner wrote:
> On Thu, 14 Jun 2012, Namhyung Kim wrote:
> > I wonder whether it also needs to unpark @k. Isn't it possible to stop a
> > parked thread?
>
> Right, it should be possible and it is. Clearing the park flag is not
> strictly necessary, but yes we should do that.

And it's necessary as parkme() wont return otherwise :)