Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pygolang
pygolang
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • nexedi
  • pygolangpygolang
  • Merge Requests
  • !17

Merged
Opened Jan 24, 2022 by Kirill Smelkov@kirr
  • Report abuse
Report abuse

Nogil signals + IO

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

  • Discussion 7
  • Commits 12
  • Changes 38
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: nexedi/pygolang!17

Revert this commit

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this commit

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备14008524号