Re: [linux-audio-dev] It's been more than a year... Have things improved?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] It's been more than a year... Have things improved?
From: jacob robbins (jrobbins_AT_newyorkmusicunion.com)
Date: Wed Jul 09 2003 - 22:45:12 EEST


>Hi Jacob,
>Hi LAD members,

>On Mon, Jul 07, 2003 at 04:50:45PM -0600, jacob robbins wrote:
>> deadlock. You forgot to mention one other method for achieving this
>> communication; System V ipc messages, which i prefer because they don't
>> lock (if used right) and they are simple. See the man pages for msgget,
>> msgsnd, msgrcv.

>What do you mean by "if used right"?

   It's pretty simple: The realtime thread must always try to get
messages in non-blocking mode.

Meanwhile, the UI thread blocks waiting for the receipt of a different
message from the realtime thread indicating that the requested issue has
been handled. Of course the issues must be carefully constructed so that
the realtime thread can handle them without allocating any memory or
doing too many long loops.

-jacob robbins.....


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Jul 09 2003 - 22:54:14 EEST