Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • pygolang pygolang
  • 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 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • pygolangpygolang
  • Merge requests
  • !17

Nogil signals + IO

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Kirill Smelkov requested to merge kirr/pygolang:y/signals+io into master Jan 24, 2022
  • 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
Reviewers
Request review from
Time tracking
Source branch: y/signals+io
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7