n2nc::sync::InlineThread Class Reference

C-Style threading model. More...

#include <thread.h>

Inheritance diagram for n2nc::sync::InlineThread:

Inheritance graph
[legend]
Collaboration diagram for n2nc::sync::InlineThread:

Collaboration graph
[legend]

List of all members.

Public Types

typedef void *(* m_start_routine )(void *)
typedef int(* m_stop_routine )(void *)

Public Member Functions

 InlineThread (m_start_routine fnc, m_stop_routine fncstop=NULL)


Detailed Description

C-Style threading model.

This thread class utility take a function pointer instead implementing virtual method.

Author:
fabsoft <fabsoft@gmail.com>
Examples:

threads_ex.cpp.

Definition at line 107 of file thread.h.


Member Typedef Documentation

Start routine fingerprint


Constructor & Destructor Documentation

n2nc::sync::InlineThread::InlineThread ( m_start_routine  fnc,
m_stop_routine  fncstop = NULL 
) [inline]

Sets entry point for the thread

Definition at line 113 of file thread.h.


The documentation for this class was generated from the following file:

Generated on Mon Oct 6 19:33:01 2008 for n2nc by  doxygen 1.5.5