Close connection in different photon thread
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 179
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 26
Description
TCP connection is running in one photon thread, in a way of busy loop receiving and sending data and yield.
Is it safe to close this connection from another photon thread (both photon threads are in the same vCPU) ?
If not, what is the recommend way ?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files, tests, or entry points. Start by tracing the TCP connection lifecycle and existing close or shutdown APIs, then inspect how photon threads coordinate access to the same connection. Done means the supported cross-thread close behavior and recommended usage are established in the relevant project documentation or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100