Monday, April 7, 2008

Thread issue 1

  1. How to rework the code to make it meet multiple thread
  2. Make out a caller side code


NamedPtr int g_counter = 0;
void IncCounter()
{
g_counter++;
}

No comments: