base: thread: Document the postMessage() function as thread-safe
The Thread::postMessage() function is thread-safe, document it as such. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
f23f3922b3
commit
4c63bb4938
1 changed files with 2 additions and 0 deletions
|
@ -526,6 +526,8 @@ EventDispatcher *Thread::eventDispatcher()
|
||||||
*
|
*
|
||||||
* If the \a receiver is not bound to this thread the behaviour is undefined.
|
* If the \a receiver is not bound to this thread the behaviour is undefined.
|
||||||
*
|
*
|
||||||
|
* \context This function is \threadsafe.
|
||||||
|
*
|
||||||
* \sa exec()
|
* \sa exec()
|
||||||
*/
|
*/
|
||||||
void Thread::postMessage(std::unique_ptr<Message> msg, Object *receiver)
|
void Thread::postMessage(std::unique_ptr<Message> msg, Object *receiver)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue