Re: [LAD] Inter thread Communication: Design Approach

From: Paul Davis <paul@email-addr-hidden>
Date: Thu Sep 01 2011 - 22:54:03 EEST

On Thu, Sep 1, 2011 at 2:37 PM, Fons Adriaensen <fons@email-addr-hidden> wrote:

> That's assuming that the event's virtual execute() has access to
> all it needs. In all cases I've encountered that is not the case:
> the event triggers something in the context where it is received
> and processing it requires access to that context's data.
> It's a problem for which I don't know a clean C++ solution.

depending on the exact type of thing you're talking about, isn't this
is place for closures, functors, etc. etc. ?
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Sep 2 00:15:02 2011

This archive was generated by hypermail 2.1.8 : Fri Sep 02 2011 - 00:15:02 EEST