Skip to content

Commit 06dc21b

Browse files
committed
select: update code comment about timeout
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
1 parent 172650a commit 06dc21b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/libsyscall.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,8 @@ var SyscallsLibrary = {
678678
// writefds checks socket open status
679679
// exceptfds are supported, although on web, such exceptional conditions never arise in web sockets
680680
// and so the exceptfds list will always return empty.
681-
// timeout is supported, although on SOCKFS and PIPEFS these are ignored and always treated as 0 - fully async
681+
// timeout is supported, although on SOCKFS these are ignored and always treated as 0 - fully async
682+
// and PIPEFS supports timeout only when PROXY_TO_PTHREAD is enabled.
682683
#if ASSERTIONS
683684
assert(nfds <= 64, 'nfds must be less than or equal to 64'); // fd sets have 64 bits // TODO: this could be 1024 based on current musl headers
684685
#endif

0 commit comments

Comments
 (0)