nd,ngui: make program termination reliable on SIGTERM #23

Manually merged
x1ddos merged 1 commits from sigterm into master 1 year ago
x1ddos commented 1 year ago
Owner

most troubles were due to blocking nature of child process pipe descriptions which made comm.read loops hang in various places under certain conditions.

this commit moves all read/writes in separate threads to be able to always watch for sig TERM and INT, and ensures child process pipes are closed early allowing comm.read loops to terminate.

closes #16
closes #17

most troubles were due to blocking nature of child process pipe descriptions which made comm.read loops hang in various places under certain conditions. this commit moves all read/writes in separate threads to be able to always watch for sig TERM and INT, and ensures child process pipes are closed early allowing comm.read loops to terminate. closes #16 closes #17
x1ddos added 1 commit 1 year ago
ci/woodpecker/pr/woodpecker Pipeline was successful Details
ci/woodpecker/push/woodpecker Pipeline was successful Details
63eb27bf18
nd,ngui: make program termination reliable on SIGTERM
most troubles were due to blocking nature of child process pipe
descriptions which made comm.read loops hang in various places
under certain conditions.

this commit moves all read/writes in separate threads to be able to
always watch for sig TERM and INT, and ensures child process pipes
are closed early allowing comm.read loops to terminate.
x1ddos merged commit 63eb27bf18 into master manually 1 year ago
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nakamochi/ndg#23
Loading…
There is no content yet.