Closed dagit closed 9 years ago
I tested this in windows. It works correctly from cmd.exe. In the mingw shell it runs the handler once but my program also exits. I think it's pretty typical to support either cmd.exe or mingw shell and not both. So I would say it's "correct" for now.
This is good, thanks! This bug had slipped in when fixing issue #1.
This appears to fix #3. I'm not sure, but it might also cause some signals to get dropped? Also I'm not sure what Ordering to use for this so I used
Relaxed
because that's what the reads/writes toDONE
use.So far I've only tested it in linux, but I hope to test it in windows too.