Logo Search packages:      
Sourcecode: djvulibre version File versions

int GThread::create ( void(*)(void *)  entry,
void *  arg 
)

Starts the thread. The new thread executes function entry# with argument arg#. The thread terminates when the function returns. A thread cannot be restarted after its termination. You must create a new GThread# object.

Definition at line 129 of file GThreads.cpp.

Referenced by DjVuFile::start_decode(), and DjVuDocument::start_init().

{
  (*entry)(arg);
  return 0;
}


Generated by  Doxygen 1.6.0   Back to index