testLoggerConcurrency.cpp File Reference

Tests for the multithreaded logging framework. More...

#include "config.h"
#include "ace/Thread.h"
#include <ace/Trace.h>
#include "Logger.hpp"
Include dependency graph for testLoggerConcurrency.cpp:

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< Loggerlogger

Detailed Description

Tests for the multithreaded logging framework.

Status:
Finished
Version:
Id
testLoggerConcurrency.cpp 1 2011-03-04 18:13:18Z jreis
Maintainer:
Joao Reis (joaocgreis@gmail.com)

Definition in file testLoggerConcurrency.cpp.


Function Documentation

int main (  ) 

Logger tests entry point.

Author:
Joao Reis

Definition at line 68 of file testLoggerConcurrency.cpp.

static void * outputFlicker ( void *  arg  )  [static]

This thread will disable and enable the output.

Author:
Joao Reis

Definition at line 127 of file testLoggerConcurrency.cpp.

static void * prefixFlicker ( void *  arg  )  [static]

This thread will disable and enable the prefix.

Author:
Joao Reis

Definition at line 138 of file testLoggerConcurrency.cpp.

static void * repeatLogger ( void *  arg  )  [static]

This thread log a lot of messages.

Author:
Joao Reis

Definition at line 149 of file testLoggerConcurrency.cpp.


Variable Documentation

shared_ptr<Logger> logger

The concurrently accessed logger

Definition at line 44 of file testLoggerConcurrency.cpp.

Generated on Fri Mar 4 22:15:18 2011 for MeRMaID::support by  doxygen 1.6.3