In non-blocking recv functions in libmux and libdraw,
distinguish between "cannot receive without blocking" and "EOF on connection". In libmux, do not elect async guys muxers, so that synchronous RPC calls run in the main event loop (e.g., in eresized) do not get stuck. Fixes problem reported by Lu Xuxiao, namely that jpg etc. would spin at 100% cpu usage.
This commit is contained in:
parent
d3864abaee
commit
3a19470202
7 changed files with 88 additions and 61 deletions
|
|
@ -47,7 +47,8 @@ static int
|
|||
xioerror(XDisplay *d)
|
||||
{
|
||||
/*print("X I/O error\n"); */
|
||||
sysfatal("X I/O error\n");
|
||||
exit(0);
|
||||
/*sysfatal("X I/O error\n");*/
|
||||
abort();
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue