[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] [PATCH] Use pselect() to reduce wakeups and avoid race co

From: Eric S. Raymond
Subject: Re: [gpsd-dev] [PATCH] Use pselect() to reduce wakeups and avoid race conditions
Date: Sat, 14 Jan 2012 10:14:21 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

Greg Troxel <address@hidden>:
> But, pselect is specified by posix:
> and is available in NetBSD 5 (perhaps earlier) and FreeBSD from 2002
> (and also in OS X 10.7, with the same FreeBSD man page), so I don't see
> any issue in relying on it.

Er, openbsd.  pselect() only would be a crash landing for Chris Kuethe.

It's not a problem, though. pselect() is easy to check for; the
autonfiguration in scons took me a whole 3 minutes to write, and
keeping the select() code path adds only a very little complexity.
The work Mike Frysinger and are are doing on cleaning up the 
signal handling should reduce that increment.
                <a href="";>Eric S. Raymond</a>

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]