notify_port_select_events
notify_port_select_events(portRef, B_EVENT_INVALID);
notify_port_select_events(portRef, B_EVENT_WRITE);
notify_port_select_events(portRef, B_EVENT_READ);
notify_port_select_events(portRef, B_EVENT_WRITE);
notify_port_select_events(port, B_EVENT_INVALID);