reSIProcate/rutil  9694
Defines | Functions
ThreadIf.cxx File Reference
#include "rutil/ThreadIf.hxx"
#include <cassert>
#include <iostream>
#include "rutil/Mutex.hxx"
#include "rutil/Lock.hxx"
#include "rutil/Socket.hxx"
#include "rutil/Logger.hxx"
Include dependency graph for ThreadIf.cxx:

Go to the source code of this file.

Defines

#define RESIPROCATE_SUBSYSTEM   Subsystem::SIP

Functions

static void * threadIfThreadWrapper (void *threadParm)

Define Documentation

#define RESIPROCATE_SUBSYSTEM   Subsystem::SIP

Definition at line 26 of file ThreadIf.cxx.


Function Documentation

static void* threadIfThreadWrapper ( void *  threadParm) [static]

Definition at line 45 of file ThreadIf.cxx.

References resip::ThreadIf::thread().

Referenced by resip::ThreadIf::run().

{
   assert( threadParm );
   ThreadIf* t = static_cast < ThreadIf* > ( threadParm );

   assert( t );
   t->thread();
#ifdef WIN32
   // Free data in TLS slots.
   ThreadIf::tlsDestroyAll();
#ifdef _WIN32_WCE
   ExitThread( 0 );
#else
   _endthreadex(0);
#endif
#endif
   return 0;
}

Here is the call graph for this function: