Quote:Now for something much more fun: CONSOLE_APP_MAIN { int x = 0; CoDo([&] { CoWork::FinLock(); x++; }); DDUMP(x); } What can you say about the number printed to the log? Ideally it should be 1. But in this case the result should (or expected to) be "0 < x <= INT_MAX", depending on the underlying hardware/OS task/process scheduling? Best regards, Oblivion
Now for something much more fun: CONSOLE_APP_MAIN { int x = 0; CoDo([&] { CoWork::FinLock(); x++; }); DDUMP(x); } What can you say about the number printed to the log?
Report message to a moderator