lkml.org 
[lkml]   [1999]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: old driver
On Mon, 29 Mar 1999, Daniel Drotos wrote:
> if (current->signal & ~current->blocked)
> return temp - buf ? : -EINTR;
if (signal_pending(current))
return temp - buf ? : -EINTR;

> current->state = TASK_INTERRUPTIBLE;
> current->timeout = jiffies + read_sleep;
> schedule();
current->state = TASK_INTERRUPTIBLE;
schedule_timeout(read_sleep);

Kris


-
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:51    [W:0.099 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site