From: =?iso8859-15?Q?Nicolas_H=FCppelsh=E4user?= Subject: Re: ALSA and select, poll, ... (interrupted system calls) Date: Tue, 22 Jun 2004 12:01:38 +0200 (CEST) Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Clemens Ladisch Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org On Fri, 18 Jun 2004, Clemens Ladisch wrote: > Nicolas H=FCppelsh=E4user wrote: > > By now I workaround with a mixture of nanosleep/"time polling" (trackin= g > > elapsed system time in a loop). Is there a better way? > > If you're waiting anyway, why don't you simply wait with poll? I need to wait a defined amount of time. And it doesn't make a differecne whether using poll or nanosleep since both get interrupted by alsa async signals. regards =09Nicolas ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com