3 ms·
Smells to me like the sort of comment I'd put in ahead of a bit of defensive coding. e.g. I originally made an assumption, but now I realise my mutex enumerati
by urbandw311er 4y ago
Smells to me like the sort of comment I'd put in ahead of a bit of defensive coding. e.g. I originally made an assumption, but now I realise my mutex enumeration code will fail if somebody actually calls their mutex this one specific thing. So now I have to put in an additional test to guard against that.
- gwbas1c 4y agoCode comments are ignored by the compiler. I suspect it's not a comment but the name of the mutex itself. Personally, I'd so something like (Name of company / Product)-(Guid). This way it's unlikely there will be a collision, and if there is, someone's going to have to answer some interesting questions.