[quagga-dev 1359] Re: signal handling breaks gdb on NetBSD - fixed in CVS

Paul Jakma paul at clubi.ie
Wed Jul 14 18:11:30 BST 2004


On Wed, 14 Jul 2004, Paul Jakma wrote:

> Because it examines the quagga_sigevent_master_t structure, one 
> member of which, caught, is set from signal context. Now, we could 
> possibly drop the blocking altogether actually, if the following 
> two operations are atomic on all architectures we care about:
>
> 	(volatile sig_atomic_t) = 0
> 	(volatile sig_atomic_t)++

Well, as the name suggests, sig_atomic_t really should be safe to 
access on any sane architecture. So i can strip the blocking 
altogether.

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
 	warning: do not ever send email to spam at dishone.st
Fortune:
Nothing increases your golf score like witnesses.



More information about the Quagga-dev mailing list