blinksh / blinksh/blink

Killing sessions by closing the descriptor

Open
#127 0 comments 0 reactions 0 assignees View on GitHub
chore
Dominant language
Swift
Stars
6.9k
Forks
746
PR merge metrics
No merged PRs in 30d

Description

The input descriptor gets closed, but until all of them close, the message isn't really sent and it isn't enough to wake up a poll. Closing all of them requires the session to finish, but that doesn't happen until the poll wakes up. There is a way to clean up this flow, either using other signals, or changing the way the descriptors will react under this cases. Will elaborate more...

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Start by locating the session cleanup, descriptor-closing, and poll-wakeup flow described in the issue. Done should mean sessions can be terminated without waiting for the poll to wake, with the behavior covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.