Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Apr 1998 07:53:59 -0400 (EDT)
From:      Peter Dufault <dufault@hda.com>
To:        joelh@gnu.org
Cc:        current@FreeBSD.ORG
Subject:   Re: kernel support for memory semaphores/locks...
Message-ID:  <199804081153.HAA02444@hda.hda.com>
In-Reply-To: <199804072257.RAA26476@detlev.UUCP> from Joel Ray Holveck at "Apr 7, 98 05:57:15 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> >> No, you'd go to sleep for a jiffy and check again...  I belive a
> >> yield() syscall is in the pipeline or maybe already in.
> > Yield is in the kernel.
> 
> Is yield() the same as sleep(0)?

No, in that the behavior is standard.  "man sched_yield" on current.
At least for now you need:

options        "P1003_1B"
options        "_KPOSIX_PRIORITY_SCHEDULING"

Peter

-- 
Peter Dufault (dufault@hda.com)   Realtime development, Machine control,
HD Associates, Inc.               Safety critical systems, Agency approval

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804081153.HAA02444>