Hi
The documentation about RMsgQueueBase::SendBlocking(). says
Sends a message through this queue, and waits for space to become available if the queue is full.
does it mean that the current thread will be blocked? what is blocked here?
-J
Hi
The documentation about RMsgQueueBase::SendBlocking(). says
Sends a message through this queue, and waits for space to become available if the queue is full.
does it mean that the current thread will be blocked? what is blocked here?
-J
Try reading this way:
Sends a message through this queue.
Waits for space to become available if the queue is full.
The queue has a fixed size. If it is full, this method will wait for a slot becoming available. Compare to the other method, Send, which will produce KErrOverflow if there is no space for the new message.
Send: always returns immediately, the message is either sent or not
SendBlocking: the message is always sent, but it can take some time.
what if no one is calling Receive on the other side? will my SendBlocking block the whole thread id Q is full?
Yes, of course.