Y
Hacker News
new
|
ask
|
show
|
jobs
by
Retr0id
663 days ago
I assume OP's solution has thread-safety requirements. The toothpaste may be retrieved from long-term storage by another thread, and that thread may not be configured to check for termination conditions.
1 comments
alexchamberlain
663 days ago
Children act more like separate processes than threads - it would be a miracle if we could read their minds or put them to sleep for a bit.
link