lkml.org 
[lkml]   [1999]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 2. I need to do block I/O, both synchronously and asynchronously.
Hi,

On Thu, 22 Apr 1999 12:49:47 +0000, Richard Dynes <rdynes@varcom.com> said:

> I sugggest (1) the plethora of drivers in the source, and (2)
> Alessando Rubini's Linux Device Drivers, published by ORA.

>> 1. What is the correct way to do a generic thread yield?

> Assuming a __kernel__ thread yield, schedule() is correct.

That's not good enough to guarantee that the process isn't immediately
rescheduled. See sys_sched_yield(), which may do what you want.

--Stephen

-
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.042 / U:0.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site