Re: [LAD] Inter thread Communication: Design Approach

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Fons Adriaensen <fons@...>
Cc: <linux-audio-dev@...>
Date: Sunday, September 4, 2011 - 12:45 am

On Sat, Sep 3, 2011 at 8:42 PM, Paul Davis wrote:

btw, i also feel that you may have missed the point of the declaration
of boost::function

it does NOT mean that the function that will be executed by operator()
of the boost::function is a void function(void). it means that
operator() can be called without arguments and does return a result.
the actual function executed may take any number of arguments that
will be marshalled from within the functor itself.

its very easy to write a super-fast functor in C++ - i've done one
that barely ends up with any more instructions than a direct function
call. this does not, alas, translate into something usable in all the
ways that things like sigc::mem_fun or boost::function are. the
complexities become more apparent once you try an implementation
yourself.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Inter thread Communication: Design Approach, Harry van Haaren, (Sat Aug 20, 2:19 pm)
Re: [LAD] Inter thread Communication: Design Approach, Gabriel Beddingfield, (Sat Aug 20, 3:04 pm)
Re: [LAD] Inter thread Communication: Design Approach, David Robillard, (Thu Sep 1, 6:18 pm)
Re: [LAD] Inter thread Communication: Design Approach, Gabriel Beddingfield, (Fri Sep 2, 2:29 am)
Re: [LAD] Inter thread Communication: Design Approach, David Robillard, (Fri Sep 2, 3:22 pm)
Re: [LAD] Inter thread Communication: Design Approach, Gabriel Beddingfield, (Fri Sep 2, 4:03 pm)
Re: [LAD] Inter thread Communication: Design Approach, David Robillard, (Fri Sep 2, 4:29 pm)
Re: [LAD] Inter thread Communication: Design Approach, Harry van Haaren, (Thu Sep 1, 8:37 pm)
Re: [LAD] Inter thread Communication: Design Approach, Florian Paul Schmidt, (Fri Sep 2, 8:36 am)
Re: [LAD] Inter thread Communication: Design Approach, David Robillard, (Fri Sep 2, 3:13 pm)
Re: [LAD] Inter thread Communication: Design Approach, Florian Paul Schmidt, (Fri Sep 2, 5:29 pm)
Re: [LAD] Inter thread Communication: Design Approach, Harry van Haaren, (Fri Sep 2, 11:59 am)
Re: [LAD] Inter thread Communication: Design Approach, Fons Adriaensen, (Thu Sep 1, 6:37 pm)
Re: [LAD] Inter thread Communication: Design Approach, David Robillard, (Thu Sep 1, 8:30 pm)
Re: [LAD] Inter thread Communication: Design Approach, Fons Adriaensen, (Fri Sep 2, 10:04 am)
Re: [LAD] Inter thread Communication: Design Approach, Fons Adriaensen, (Sat Sep 3, 9:25 pm)
Re: [LAD] Inter thread Communication: Design Approach, Florian Paul Schmidt, (Sun Sep 4, 10:22 am)
Re: [LAD] Inter thread Communication: Design Approach, Paul Davis, (Sun Sep 4, 12:45 am)
Re: [LAD] Inter thread Communication: Design Approach, Florian Paul Schmidt, (Fri Sep 2, 10:50 am)
Re: [LAD] Inter thread Communication: Design Approach, David Robillard, (Thu Sep 1, 8:34 pm)
Re: [LAD] Inter thread Communication: Design Approach, Harry van Haaren, (Sat Aug 20, 4:17 pm)
Re: [LAD] Inter thread Communication: Design Approach, Arnold Krille, (Sat Aug 20, 3:57 pm)