Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2000 10:58:42 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        dfr@nlsystems.com (Doug Rabson), msmith@FreeBSD.ORG (Mike Smith), n_hibma@calcaphon.com (Nick Hibma), arch@FreeBSD.ORG
Subject:   Re: A new api for asynchronous task execution 
Message-ID:  <200005171758.KAA07014@mass.cdrom.com>
In-Reply-To: Your message of "Wed, 17 May 2000 17:45:44 -0000." <200005171745.KAA06412@usr05.primenet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > I do hope to be able to replace at least some of these pieces. I like the
> > idea of a priority sorted list of tasks, probably using a priority field
> > in struct task.
> 
> Bletch.
> 
> This is a job best handled by managing insertion order, rather than
> by way of an explicit sort.  Insertion order also keeps the structure
> both small and generic.

You specifically can't "manage insertion order", which is why the queues 
need to be sorted.  Go look at the current problem set before making 
sweeping assertions like this.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




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




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