Lines Matching refs:port
134 // Close the message port and read and reply to the remaining messages.
900 BLooper::BLooper(int32 priority, port_id port, const char* name)
902 _InitData(name, priority, port, B_LOOPER_PORT_DEFAULT_CAPACITY);
919 Locks a looper either by port or using a direct pointer to the looper.
922 \param port port to identify the looper in case \a looper is NULL
926 BLooper::_Lock(BLooper* looper, port_id port, bigtime_t timeout)
928 PRINT(("BLooper::_Lock(%p, %lx)\n", looper, port));
930 // Check params (loop, port)
931 if (looper == NULL && port < 0) {
947 looper = gLooperList.LooperForPort(port);
1008 BLooper::_InitData(const char* name, int32 priority, port_id port,
1036 if (port >= 0)
1037 fMsgPort = port;
1188 // Read from message port (how do we determine what the timeout is?)
1197 // Get message count from port
1200 // Read 'count' messages from port (so we will not block)
1207 // loop: As long as there are messages in the queue and the port is
1283 // Are any messages on the port?