Messages in this thread | | | Date | Mon, 15 Mar 1999 22:24:19 +0100 (CET) | From | Ingo Molnar <> | Subject | Re: 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/
| |