Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository
  • go
  • src
  • os
  • exec
  • exec_test.go
Find file BlameHistoryPermalink
  • Nick Patavalis's avatar
    os: use poller when NewFile is called with a blocking descriptor. · ea5825b0
    Nick Patavalis authored Mar 11, 2018
    If NewFile is called with a file descriptor that is already set to
    non-blocking mode, it tries to return a pollable file (one for which
    SetDeadline methods work) by adding the filedes to the poll/netpoll
    mechanism. If called with a filedes in blocking mode, it returns a
    non-pollable file, as it always did.
    
    Fixes #22939
    Updates #24331
    
    Change-Id: Id54c8be1b83e6d35e14e76d7df0e57a9fd64e176
    Reviewed-on: https://go-review.googlesource.com/100077
    
    
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
    ea5825b0
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7