Clarified documentation of the "asynchronous" SendMessage() methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23504 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -245,9 +245,13 @@ BMessenger::LockTargetWithTimeout(bigtime_t timeout) const
|
|||||||
// #pragma mark - Message sending
|
// #pragma mark - Message sending
|
||||||
|
|
||||||
// SendMessage
|
// SendMessage
|
||||||
/*! \brief Delivers a BMessage synchronously to the messenger's target.
|
/*! \brief Delivers a BMessage synchronously to the messenger's target,
|
||||||
|
without waiting for a reply.
|
||||||
|
|
||||||
The method does not wait for a reply. The message is sent asynchronously.
|
If the target's message port is full, the method waits indefinitely, until
|
||||||
|
space becomes available in the port. After delivery the method returns
|
||||||
|
immediately. It does not wait until the target processes the message or
|
||||||
|
even sends a reply.
|
||||||
|
|
||||||
\param command The what field of the message to deliver.
|
\param command The what field of the message to deliver.
|
||||||
\param replyTo The handler to which a reply to the message shall be sent.
|
\param replyTo The handler to which a reply to the message shall be sent.
|
||||||
@@ -265,12 +269,16 @@ BMessenger::SendMessage(uint32 command, BHandler *replyTo) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
// SendMessage
|
// SendMessage
|
||||||
/*! \brief Delivers a BMessage synchronously to the messenger's target.
|
/*! \brief Delivers a BMessage synchronously to the messenger's target,
|
||||||
|
without waiting for a reply.
|
||||||
|
|
||||||
A copy of the supplied message is sent and the caller retains ownership
|
A copy of the supplied message is sent and the caller retains ownership
|
||||||
of \a message.
|
of \a message.
|
||||||
|
|
||||||
The method does not wait for a reply. The message is sent asynchronously.
|
If the target's message port is full, the method waits until space becomes
|
||||||
|
available in the port or the specified timeout occurs (whichever happens
|
||||||
|
first). After delivery the method returns immediately. It does not wait
|
||||||
|
until the target processes the message or even sends a reply.
|
||||||
|
|
||||||
\param message The message to be sent.
|
\param message The message to be sent.
|
||||||
\param replyTo The handler to which a reply to the message shall be sent.
|
\param replyTo The handler to which a reply to the message shall be sent.
|
||||||
@@ -300,12 +308,16 @@ DBG(OUT("BMessenger::SendMessage2() done: %lx\n", error));
|
|||||||
}
|
}
|
||||||
|
|
||||||
// SendMessage
|
// SendMessage
|
||||||
/*! \brief Delivers a BMessage synchronously to the messenger's target.
|
/*! \brief Delivers a BMessage synchronously to the messenger's target,
|
||||||
|
without waiting for a reply.
|
||||||
|
|
||||||
A copy of the supplied message is sent and the caller retains ownership
|
A copy of the supplied message is sent and the caller retains ownership
|
||||||
of \a message.
|
of \a message.
|
||||||
|
|
||||||
The method does not wait for a reply. The message is sent asynchronously.
|
If the target's message port is full, the method waits until space becomes
|
||||||
|
available in the port or the specified timeout occurs (whichever happens
|
||||||
|
first). After delivery the method returns immediately. It does not wait
|
||||||
|
until the target processes the message or even sends a reply.
|
||||||
|
|
||||||
\param message The message to be sent.
|
\param message The message to be sent.
|
||||||
\param replyTo A messenger specifying the target for a reply to \a message.
|
\param replyTo A messenger specifying the target for a reply to \a message.
|
||||||
|
|||||||
Reference in New Issue
Block a user