Click here to Skip to main content
14,699,089 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Is it dangerous and can what problem could it cause?

1 solution

Trying to re-post, to get second opinion? Anyway, I already explained it: your code is pointless, and yes, this is dangerous, but in this formulation nothing can be said for certain: it depends on the code.

See again: Is this enough to insure mutual exclusion?[^].


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900