sched_yeild() can be used to yield the current process. When called from a thread i guess its the same effect as threads are seen as processes with their own pids. Please correct me if i am wrong. I think to yeild a process running in kernel space u will have to call schedule(). Cheers, Bijoy. ----- Original Message ----- From: r g <pengui321@yahoo.com> Date: Sunday, July 11, 2004 0:16 am Subject: yielding user process > hii, > > can we yield the user process using the yield call or yield can be > used only for threads, > is there any way to yield the current process running in kernel mode?? > > please help > > thanks in advance > > radhika > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/