Menu

#350 lrcrcd spins on poll with 0 duration timeout

Future
closed
nobody
None
notabug
2025-06-30
2019-08-27
Russ Dill
No

9aef0201c switched lircrcd over from select to poll, however rather than passing -1 to poll (the equivalent of passing NULL to select), the new code passes 0 as a timeout value. This causes poll to return immediately and use 100% of the CPU.

Discussion

  • Sean Young

    Sean Young - 2025-06-30
    • status: open --> closed
    • Resolution: na --> notabug
     
  • Sean Young

    Sean Young - 2025-06-30

    This problem does not exist in the current tree. I guess this ticket just refers to out of date code.

     

Log in to post a comment.

MongoDB Logo MongoDB