lkml.org 
[lkml]   [1999]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problem in task_struct

On Mon, 15 Mar 1999, Valery Kotchiev (OBEX r00t) wrote:

> The problem is in a kernel structure task_struct which has lost its member
> "timeout" in the new kernel.

it's a really simple interface change. Old code did:

current->timeout = jiffies + x;
schedule();

the 2.2 way is to:

schedule_timeout(x);

this makes the timeout interface easier to maintain and also speeds up
context switches a bit.

-- mingo


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.080 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site