[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ogfs-dev]How to translate this to 2.5?



On Wed, Apr 30, 2003 at 11:33:07AM -0500, Brian Jackson wrote:
> On Wednesday 30 April 2003 11:15 am, Dominik Vogt wrote:
> > What is the correct translation of this code to the 2.5 kernel?
> >
> > #define osi_schedule() \
> > 	do { current->policy |= SCHED_YIELD; schedule(); } while(0)
> 
> isn't that the same thing as the yield() work we (you) did recently.

But what is the difference between schedule() and yield()?

Bye

Dominik ^_^  ^_^


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opengfs-devel mailing list
Opengfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opengfs-devel

[Kernel]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Clusters]     [Linux RAID]     [Yosemite Hiking]     [Linux Resources]

Powered by Linux