From: Ray Bellis <Ray.Bellis () psy ! ox ! ac ! uk>
To: tru64-unix-managers
Subject: select(2) broken in 3.2C?
Date: Thu, 30 May 1996 14:14:39 +0000 [thread overview]
Message-ID: <96076332421611.tru64-unix-managers.marc@archive.invalid> (raw)
Does anyone know if select(2) has problems in 3.2C? I've written a
program which is using select to do blocking reads from a tty, but
for some reason select always claims to have input waiting on my
file descriptor, but then the read fails claiming that there isn't
any input waiting. My program therefore goes around and around in
a loop chewing up CPU time when it *should* be blocked.
Has anyone else seen this?
Thanks,
Ray.
--
__ __ Computing Officer, MRC Research Centre in Brain and Behaviour,
/_/ /_/ \/ Department of Experimental Psychology, Oxford University
/ \ / / / <http://www.mrc-bbc.ox.ac.uk/~rpb> <mailto:Ray.Bellis@psy.ox.ac.uk>
reply other threads:[~1996-05-30 14:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox