[ruby-cvs:78714] b12bc3b046 (master): thread.c: avoid needless read after select|ppoll

"Eric Wong" <[email protected]>
Newsgroups gmane.comp.lang.ruby.cvs
Message-ID <[email protected]>
Eric Wong	2019-12-17 03:28:44 +0900 (Tue, 17 Dec 2019)

  New Revision: b12bc3b046

  https://github.com/ruby/ruby/commit/b12bc3b046

  Log:
    thread.c: avoid needless read after select|ppoll
    
    We do not need to issue pipe|eventfd read(2) syscall
    unless select, ppoll|poll declares the FD needs reading.

  Modified files:
    thread.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.