Subject: Re: more siginfo q;s
To: Christos Zoulas <christos@zoulas.com>
From: Matt Thomas <matt@3am-software.com>
List: tech-kern
Date: 09/14/2003 11:01:29
On Sunday, September 14, 2003, at 10:30 AM, Christos Zoulas wrote:
> | > +	struct ksiginfo *ksi_next;
> | > +	struct ksiginfo *ksi_prev;
> |
> | Why needs to be doublly linked?
>
> I had it a singly linked list, but I thought that the 
> performance/storage
> trade-off is better for the doubly linked list, specially for queued 
> signals.

You should be using the appropriate macros (TAILQ probably) from
<sys/queue.h> instead of doing it by hand.
-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: 
http://3am-software.com/bio/matt/ Cupertino, CA              
disclaimer: I avow all knowledge of this message.