| 2950 | } |
| 2951 | #ifdef USE_WORKER |
| 2952 | else if (flags & JS_OS_POLL_WORKERS) { |
| 2953 | list_for_each(el, &ts->port_list) { |
| 2954 | JSWorkerMessageHandler *port = list_entry(el, JSWorkerMessageHandler, link); |
| 2955 | if (!JS_IsNull(port->on_message_func)) { |
| 2956 | JSWorkerMessagePipe *ps = port->recv_pipe; |
| 2957 | if (pfd->fd == ps->waker.read_fd) { |
| 2958 | if (handle_posted_message(rt, ctx, port)) |
| 2959 | goto done; |
| 2960 | } |
| 2961 | } |
| 2962 | } |
| 2963 | } |
| 2964 | #endif // USE_WORKER |
| 2965 | } |
| 2966 | done: |
nothing calls this directly
no test coverage detected