lkml.org 
[lkml]   [2012]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] kthread: Implement park/unpark facility
From
Date
On Tue, 2012-06-05 at 15:41 +0200, Thomas Gleixner wrote:
> struct kthread {
> - int should_stop;
> + bool should_stop;
> + bool should_park;
> + bool is_parked;
> + bool is_percpu;

bool doesn't have a well specified storage type. I typically try to
avoid using it in structures for this reason. Others might not care
though.


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