Implemented the actual message sending. The implementation is complete now, but still untested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11062 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
874902b2c1
commit
56833e831f
@ -8,6 +8,7 @@
|
||||
|
||||
#include <Autolock.h>
|
||||
#include <DataIO.h>
|
||||
#include <MessagePrivate.h>
|
||||
#include <MessengerPrivate.h>
|
||||
#include <OS.h>
|
||||
#include <TokenSpace.h>
|
||||
@ -417,8 +418,8 @@ MessageDeliverer::_PutTargetPort(TargetPort *port)
|
||||
status_t
|
||||
MessageDeliverer::_SendMessage(Message *message, port_id portID, int32 token)
|
||||
{
|
||||
// TODO: Implement!
|
||||
return B_ERROR;
|
||||
return BMessage::Private::SendFlattenedMessage(message->Data(),
|
||||
message->DataSize(), portID, token, (token < 0), 0);
|
||||
}
|
||||
|
||||
// _DelivererThreadEntry
|
||||
|
Loading…
Reference in New Issue
Block a user