fjpanag commented on PR #9497: URL: https://github.com/apache/nuttx/pull/9497#issuecomment-1600654606
In fact, if I change all uses of `sd` in [this](https://github.com/fjpanag/code_for_nuttx/blob/main/mqtt_broker/mqtt_br_server.c#L150) loop with `fdcheck_protect(sd)` everything works as expected, and all tests pass. So, as it seems, it is not `select()` that has the problem. Rather it is `FD_ISSET()` which fails in [such](https://github.com/fjpanag/code_for_nuttx/blob/main/mqtt_broker/mqtt_br_server.c#L150) constructs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
