https://bugs.kde.org/show_bug.cgi?id=368907

Mauro Carvalho Chehab <mchehab+...@kernel.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #106501|0                           |1
        is obsolete|                            |

--- Comment #35 from Mauro Carvalho Chehab <mchehab+...@kernel.org> ---
Created attachment 106502
  --> https://bugs.kde.org/attachment.cgi?id=106502&action=edit
Better handle errors when writing to pipe - v2

(In reply to Mauro Carvalho Chehab from comment #34)
> Created attachment 106501 [details]
> Better handle errors when writing to pipe
> 
> Please try this version. It is simpler than the previous one. It should
> prevent using 100% of CPU if something gets wrong while writing to the pipe.
> 
> I added an extra logic there that will reset the pipe if it takes too many
> retries.

I forgot to reset the counter when write() succeeds. This patch should fix it.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to