[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Alexandre Ratchov <ratchov_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Sun, 9 Nov 2008 08:32:51 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: ratchov_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2008/11/09 08:32:50
Modified files:
lib/libsndio : sndio.c
Log message:
if the device is not started, make sio_pollfd() pass 0 events bitmap
to the backend to avoid reporing the device as writable when it's
stopped. Solves 100% CPU usage of apps poll()ing a stopped device.
Visit your host, monkey.org