Menu

#1515 clangd_client : linux : cpu usage when idle (read)

Undefined
applied
nobody
None
Patch
2025-02-20
2025-02-16
Christo
No

Unnecessary CPU usage is seen when idle. Similar to #1503. When analysed with perf, is showed select call. With the attached patch, issue is fixed.
Patch changes the delay between select calls- onstead of calling select on stdout and stderror every 10ms separately, do it in 100ms for both together.

1 Attachments

Discussion

  • pecan

    pecan - 2025-02-20

    Applied rev 13618
    thanks Christo

     
  • pecan

    pecan - 2025-02-20
    • status: open --> applied
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.