Add ability to have Ghost Tasks
Nobody has claimed this yet.
- Dominant language
- Ada
- Stars
- 328
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
This one is probably the biggest problem I've run into while working on my multithreaded Jorvik SPARK projects.
I wish there was a way to have Ghost Tasks, so that the SPARK data race and deadlock checks could function without needing to spawn a thread to do so.
Right now, I have it so that there are tasks that get created purely to check that certain data structures are thread safe in spark, and in real running code they just block forever to make sure they never actually do anything useful and take OS resources away from the tasks I actually care about.
Contributor guide
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
The issue names no files, tests, or entry points. Start by locating task creation and the SPARK data-race and deadlock checks, then determine how a ghost task could participate in those checks without creating an operating-system thread; done means the checks work while real execution avoids the unwanted task and resource usage.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100