title: unreachable function from class
body: <p>Why I cant see function in class? Gives me error producent() is not in this scope</p>
  
  <pre><code>class A
  {
      public:
      void method()
      {
          pthread_t p;
          pthread_create(&amp;p, NULL, producent, NULL);
      }
  };
  
  void * producent ( void )
   {
     return ( NULL );
   }
  </code></pre>