issue about signals
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 491
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
I use Lua as extensions for my program. I noticed a problem: the signal is outside the built-in main loop. This causes my program freezes if a signal is received. I wanted to give an interface for extensions to connect signal inside the program, but LUA can't do that because I can't get the pointer of a function in Lua. Is there any workaround?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the freeze when a signal arrives outside the built-in main loop, then trace how Lua extensions interact with signal handling and the program's main loop. Determine whether the project can expose a safe extension interface for this, and define completion around signals being handled without freezing the host program.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100