removed port unblock workaround, as port API should work now similar to BeOS R5

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16671 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2006-03-09 09:56:13 +00:00
parent bd9fea8cda
commit a7dc1efbac
2 changed files with 0 additions and 3 deletions

View File

@ -438,7 +438,6 @@ BMediaEventLooper::Quit()
return;
SetRunState(B_QUITTING);
write_port(ControlPort(), 0, NULL, 0); // null message to unblock the read (see BMediaNode::WaitForMessage)
close_port(ControlPort());
if (fControlThread != -1) {
status_t err;

View File

@ -362,8 +362,6 @@ BMediaNode::WaitForMessage(bigtime_t waitUntil,
if (size != B_TIMED_OUT)
ERROR("BMediaNode::WaitForMessage: read_port_etc error 0x%08lx\n",size);
return size; // return the error code
} else if (size == 0 && message == 0) {
return B_OK; // a null message was received (to unblock the read)
}
PRINT(7, "BMediaNode::WaitForMessage %#lx, node %ld, this %p\n", message, fNodeID, this);