[haiku-development] Re: BMessenger's SendMessage()

"Stefano Ceccherini" <stefano.ceccherini@xxxxxxxxx> wrote:
> / SendMessage
> /*! \brief Delivers a BMessage synchronously to the messenger's 
> target.
> 
>       A copy of the supplied message is sent and the caller retains 
> ownership
>       of \a message.
> 
>       The method does not wait for a reply. The message is sent 
> asynchronously.
> 
> So, which one is correct ?

The documentation in the BeBook is more helpful here: if you pass in a 
reply message, the call will be synchronous, if not, it's asynchronous 
(regardless of wether or not you specify a reply target).

Bye,
   Axel.


Other related posts: