Date: Wed, 8 Apr 1998 10:12:52 -0400 (EDT) From: Peter Dufault <dufault@hda.com> To: gurney_j@resnet.uoregon.edu Cc: current@FreeBSD.ORG Subject: Re: kernel support for memory semaphores/locks... Message-ID: <199804081412.KAA02721@hda.hda.com> In-Reply-To: <19980408065541.03335@hydrogen.nike.efn.org> from John-Mark Gurney at "Apr 8, 98 06:55:41 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> > thanks, I've done it this way... and leached most of the source from > sys/i386/i386/simplelock.s... also, I decided to back port the yield > syscall (note, we now have sched_yield and yield syscalls) to 2.2.1-R > and it works great... Yield sinks you to the bottom of the priorities, which is wrong for the fixed priority flavor schedulers, and may be more aggressive than you want. If someone writes a man page for this they should document this behavior. (IMHO) This should be moved to kern_synch since it modifies the priority. Was this added for compatability with another system? 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?199804081412.KAA02721>