Messages in this thread | | | Date | Thu, 14 Jun 2012 10:59:58 +0200 (CEST) | From | Thomas Gleixner <> | Subject | Re: [RFC patch 1/5] kthread: Implement park/unpark facility |
| |
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 :)
| |