tsp-devel
[Top][All Lists]
Advanced

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

Re: [Tsp-devel] Flooding the BB msg queue


From: Frederik Deweerdt
Subject: Re: [Tsp-devel] Flooding the BB msg queue
Date: Wed, 20 Jun 2007 17:18:47 +0200
User-agent: mutt-ng/devel-r804 (Linux)

On Wed, Jun 20, 2007 at 04:16:43PM +0200, Eric Noulard wrote:
> The synchronization is loose BY DESIGN.
> If you need more may be you should add the feature as a
> separate feature, evnetually built on top the existing one.
> 
> May be you can tell us the raw specification of what you need?
Yep, should have started with that one. I've several clients that
are working with the same black board. There's one master (the first
launching process), and N clients. When setting a variable in the
BB through the master, the clients are supposed to be notified that
something is happening. In that case a bb_snd_msg() is called with mtype
being the PIDs of the clients[1].

Hence the problem: if one of them dies unexpectedly, we fill the queue,
and we don't even know that. So no one gets notified anymore.

BTW, this is all RMS compliant, as the code is GPLed and in the CVS under
the dadi module (well, not that msg part exactly, as I'm working on it :)).
I'll write a blurb on it as soon as it is a bit more polished.

Fred

[1] The PIDs are known because an REGISTER msg is sent after a client
successfully attaches to the BB





reply via email to

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