Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
postultimate
· 3y ago · 0 comments
This one seems quite easy to fix - just have the scheduler check that task objects have a positive refcount before running them, including the first time.
Comments
[–]
remram
3y ago
A positive refcount doesn't mean the object is not dead.
[–]
postultimate
OP
3y ago
But the lack of a positive refcount means that it is, so this solves the problem the article was complaining about.
[–]
remram
3y ago
It works unless it doesn't, so it stays a Heisenbug.