void HelloWorld()
{
   static std::atomic<short> static_counter = 0;
   short val = ++static_counter; // or val = static_counter++;
}
If this function is called from two threads,
Can the local variable val be 1 in both threads? or (0 if static_counter++ is used?)
 
     
    