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
This is a multi-part message in MIME format.

------=_NextPart_000_0021_01C14E8C.333A6EE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_0021_01C14E8C.333A6EE0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_0021_01C14E8C.333A6EE0--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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