|
reSIProcate/rutil
9694
|
#include "rutil/ThreadIf.hxx"#include <cassert>#include <iostream>#include "rutil/Mutex.hxx"#include "rutil/Lock.hxx"#include "rutil/Socket.hxx"#include "rutil/Logger.hxx"
Go to the source code of this file.
Defines | |
| #define | RESIPROCATE_SUBSYSTEM Subsystem::SIP |
Functions | |
| static void * | threadIfThreadWrapper (void *threadParm) |
| #define RESIPROCATE_SUBSYSTEM Subsystem::SIP |
Definition at line 26 of file ThreadIf.cxx.
| 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;
}

1.7.5.1