… | … | ||
---|---|---|---|
1113 | return true; | 1113 | return true; |
1114 | } | 1114 | } |
1115 | else if (r < 0 && (errno == EAGAIN || errno == EINTR)) | 1115 | else if (r < 0 && (errno == EAGAIN || errno == EINTR)) |
1116 | { | 1116 | { |
1117 | #if HAVE_SCHED_YIELD | 1117 | #if HAVE_SCHED_YIELD |
1118 | if (display->is_local) | ||
1118 | event_handler.cw_yield.start (); | 1119 | event_handler.cw_yield.start (); |
1119 | #endif | 1120 | #endif |
1120 | } | 1121 | } |
1121 | else | 1122 | else |
1122 | { | 1123 | { |
1123 | pty_ev.stop (); | 1124 | pty_ev.stop (); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |