lkml.org 
[lkml]   [2012]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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 :)


\
 
 \ /
  Last update: 2012-06-14 11:41    [W:0.064 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site