Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2001 17:27:40 +0530
From:      "Anjali Kulkarni" <anjali@indranetworks.com>
To:        <freebsd-hackers@freebsd.org>
Subject:   scheduling
Message-ID:  <002401c14e5e$1c0d2380$0a00a8c0@indranet>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi,

I am trying to use the sched_yield/ksched_yield  function in the kernel, and it returns a success value, but actually does not yield to another process. I suppose this is because the kernel process is higher priority than any user level process??(Like I try and login from another terminal but it has hanged, untill the kernel process returns, I cannot use any other screen.)

Thanks,
Anjali

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am trying to use the sched_yield/ksched_yield 
&nbsp;function in the kernel, and it returns a success value, but actually does 
not yield to another process. I suppose this is because the kernel process is 
higher priority than any user level process??(Like I try and login from another 
terminal but it has hanged, untill the kernel process returns, I cannot use any 
other screen.)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Anjali</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002401c14e5e$1c0d2380$0a00a8c0>