title: g++ and c++0x specification support
body: <p>although it's been said that the support for c++0x new features in g++ are in experimental mode, many gcc developer claimed that you can use most of the new features in your codes and get the program to work.</p>
  
  <p>but when I try to compile this simple program it results in segmentation fault. Why?</p>
  
  <pre><code>#include &lt;thread&gt;
  #include &lt;iostream&gt;
  
  void my_thread_func()
  {
      std::cout&lt;&lt;"hello"&lt;&lt;std::endl;
  }
  
  int main()
  {
      std::thread t(my_thread_func);
      t.join();
  }
  </code></pre>
  
  <p>g++ -std=c++0x -Wall -o run main.cc</p>