Tests for the multithreaded logging framework. More...
#include "config.h"
#include "ace/Thread.h"
#include <ace/Trace.h>
#include "Logger.hpp"
Go to the source code of this file.
Functions | |
int | main () |
Logger tests entry point. | |
static void * | outputFlicker (void *arg) |
This thread will disable and enable the output. | |
static void * | prefixFlicker (void *arg) |
This thread will disable and enable the prefix. | |
static void * | repeatLogger (void *arg) |
This thread log a lot of messages. | |
Variables | |
shared_ptr< Logger > | logger |
Tests for the multithreaded logging framework.
Definition in file testLoggerConcurrency.cpp.
int main | ( | ) |
Logger tests entry point.
Definition at line 68 of file testLoggerConcurrency.cpp.
static void * outputFlicker | ( | void * | arg | ) | [static] |
This thread will disable and enable the output.
Definition at line 127 of file testLoggerConcurrency.cpp.
static void * prefixFlicker | ( | void * | arg | ) | [static] |
This thread will disable and enable the prefix.
Definition at line 138 of file testLoggerConcurrency.cpp.
static void * repeatLogger | ( | void * | arg | ) | [static] |
This thread log a lot of messages.
Definition at line 149 of file testLoggerConcurrency.cpp.
The concurrently accessed logger
Definition at line 44 of file testLoggerConcurrency.cpp.