|
reSIProcate/stack
9694
|
#include <iostream>#include "resip/stack/ssl/Security.hxx"#include "rutil/ThreadIf.hxx"#include "rutil/Log.hxx"#include "rutil/Logger.hxx"
Go to the source code of this file.
Classes | |
| class | HashThread |
| class | DumbInitThread |
Defines | |
| #define | RESIPROCATE_SUBSYSTEM Subsystem::TEST |
Functions | |
| void | testMultiple () |
| void | testSecurityMultiThread () |
| int | main (int argc, const char **argv) |
Variables | |
| HashThread | RSP2 |
| #define RESIPROCATE_SUBSYSTEM Subsystem::TEST |
Definition at line 20 of file testSecurity.cxx.
| int main | ( | int | argc, |
| const char ** | argv | ||
| ) |
Definition at line 111 of file testSecurity.cxx.
References testMultiple(), and testSecurityMultiThread().
{
Log::initialize(Log::Cout, Log::Debug, argv[0]);
#if 0
testMultiple();
#else
testSecurityMultiThread();
#endif
return 0;
}

| void testMultiple | ( | ) |
Definition at line 25 of file testSecurity.cxx.
Referenced by main().
| void testSecurityMultiThread | ( | ) |
Definition at line 97 of file testSecurity.cxx.
References resip::ThreadIf::join(), and resip::ThreadIf::run().
Referenced by main().
{
HashThread t1;
DumbInitThread t2;
t1.run();
t2.run();
t1.join();
t2.join();
}

| HashThread RSP2 |
1.7.5.1