Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pygolang pygolang
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • pygolangpygolang
  • Merge requests
  • !17

You need to sign in or sign up before continuing.
Merged
Created Jan 24, 2022 by Kirill Smelkov@kirrOwner

Nogil signals + IO

  • Overview 7
  • Commits 12
  • Changes 38

Provide os/signal package so that signals could be received without any, potentially unbounded, delay even if main python thread is blocked in nogil code. See the last patch ("Nogil signals") for more details about this.

Implementing signal receiving, triggered the need for pygolang to also have cooperative IO because the goroutine, that implements low-level loop to receive signals from signal handler, uses pipe to block and to be woken-up through. The third patch ("Nogil IO") provides this facility.

The other patches complement and support those two main steps.

/cc @jerome

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: y/signals+io
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7