int myfunc()
{
  std::string mystring ( "Some C value" );
  ...
}

Example 1: This defeats the notion of fast, nonblocking creation/access of stack variables in multithreaded applications.

Back to Article