Keyword shield doesn't work
Open
@pqcfox is already working on this.
Since Feb 18, 2023.
Interpreter
- Dominant language
- Macaulay2
- Stars
- 435
- Forks
- 297
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 11
Description
The documentation claims:
shield x -- executes the expression x, temporarily ignoring interrupts.
Unless I'm misunderstanding the page, which doesn't include any examples, shield doesn't seem to be working:
i1 : f = t -> shield sleep t;
i2 : f 10
^Cstdio:2:1:(3): error: interrupted
i3 : f = t -> ( alarm 1; shield sleep t );
i4 : f 5
stdio:4:1:(3): error: alarm occurred
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.
Assessment
This issue has not been assessed yet.