3 ms·
Not trying to be mean but why submit something like this to HN? This snippet just launches a thread per every timer using standard library and sleeps. There is
by AHTERIX5000 8y ago
Not trying to be mean but why submit something like this to HN? This snippet just launches a thread per every timer using standard library and sleeps. There is no way to really stop anything or knowing if timers are active etc.
Sure, it's syntactically valid C++ (probably) but that's about it.
- deleted 8y ago[deleted]
- ben0x539 8y agoI feel like there is a more constructive way to outline in which ways this solution might need to be improved to be suitable for various real-world use-cases, without focusing on whether this submission qualifies as HN content.