Messages in this thread | | | From | "Steven A. DuChene" <> | Date | Thu, 7 Mar 2002 09:20:12 -0500 | Subject | Re: SCHED_YIELD undeclared with Trond's NFS patch w/2.4.19-pre2-ac2 |
| |
On Thu, Mar 07, 2002 at 09:00:59AM -0500, Richard B. Johnson wrote: > You need to change loops that do something like: > > while(something) > { > current->policy |= SCHED_YIELD; > schedule(); > } > > to: > > while(something) > sys_sched_yield(); >
Thanks Richard! that did the trick -- Steven A. DuChene linux-clusters@mindspring.com sduchene@mindspring.com
http://www.mindspring.com/~sduchene/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |