Fixes problems with UNIX sockets when used with select() system call.
The problem was that processes sleeping in select weren't awakened when new data arrived. This should also fix the untested case of a server waiting in select awaiting an accept connection on its listening socket, as well as processes sleeping in select during socket destruction.
Fixes problems with UNIX sockets when used with select() system call.
The problem was that processes sleeping in
select
weren't awakened when new data arrived. This should also fix the untested case of a server waiting inselect
awaiting anaccept
connection on its listening socket, as well as processes sleeping inselect
during socket destruction.Discussed in https://github.com/mikaku/Fiwix/issues/80#issuecomment-1981243955 and tested with Nano-X and client/server socket test code.