Skip to content

Commit 5318eb8

Browse files
committed
select: update code comment about timeout
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
1 parent b241a3e commit 5318eb8

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
@@ -640,7 +640,8 @@ var SyscallsLibrary = {
640640
// writefds checks socket open status
641641
// exceptfds are supported, although on web, such exceptional conditions never arise in web sockets
642642
// and so the exceptfds list will always return empty.
643-
// timeout is supported, although on SOCKFS and PIPEFS these are ignored and always treated as 0 - fully async
643+
// timeout is supported, although on SOCKFS these are ignored and always treated as 0 - fully async
644+
// and PIPEFS supports timeout only when PROXY_TO_PTHREAD is enabled.
644645
#if ASSERTIONS
645646
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
646647
#endif

0 commit comments

Comments
 (0)