Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

client_thread_info Class Reference

client ticket info More...

#include <threadpool.h>

List of all members.

Public Member Functions

 client_thread_info ()
 default constructor
 client_thread_info (thread *obj, size_t ident, void *data, terimber_thread_employer *client)
 constructor

Public Attributes

size_t _ident
 thread ident
void * _data
 user defined data
terimber_thread_employer_client
 user callback
size_t _wasted_calls
 wasted calls, when v_has_job returned false
thread_obj
 thread object


Detailed Description

client ticket info

Definition at line 39 of file threadpool.h.


Constructor & Destructor Documentation

client_thread_info::client_thread_info (  )  [inline]

default constructor

Definition at line 43 of file threadpool.h.

client_thread_info::client_thread_info ( thread obj,
size_t  ident,
void *  data,
terimber_thread_employer client 
) [inline]

constructor

Parameters:
obj  thread pointer
ident  thread ident
data  user defined data
client  user callback

Definition at line 49 of file threadpool.h.


Member Data Documentation

thread ident

Definition at line 58 of file threadpool.h.

Referenced by threadpool::v_do_job(), and threadpool::v_has_job().

user defined data

Definition at line 59 of file threadpool.h.

Referenced by threadpool::v_do_job(), and threadpool::v_has_job().

wasted calls, when v_has_job returned false

Definition at line 61 of file threadpool.h.


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


© Copyright Terimber 2003-.