phoenix-rtos/phoenix-rtos-project

libphoenix/select: timeout is handled incorrectly

オープン

#1,390 opened on 2025/08/29

 (0 件のコメント) (0 件のリアクション) (1 人の担当者)C (48 件のフォーク)auto 404
good first issue

Repository metrics

Stars
 (62 個のスター)
PR merge metrics
 (PR metrics pending)

説明

When calling select with nfds = 0 timeval is interpreted incorrectly: tv_sec of timeout in select are actually milliseconds due to bad conversion ratio (1e3 instead of 1e6). tv_usec doesn't work correctly either.

This causes some micropython tests to fail

コントリビューターガイド