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

thread.h File Reference

#include "base/template.h"
#include "threadpool/threadpoolfactory.h"

Go to the source code of this file.

Classes

class  job_task
 class to send task to client thread More...
class  thread
 safe thread class More...
class  thread_creator
 creator for pool More...

Typedefs

typedef pool< thread_creatorthread_pool_t
 thread pool type

Enumerations

enum  thread_state {
  THREAD_CLOSE, THREAD_STARTING, THREAD_SLEEPING, THREAD_RUNNING,
  THREAD_STOPPING
}
 thread states More...


Typedef Documentation

thread pool type

Definition at line 218 of file thread.h.


Enumeration Type Documentation

thread states

Enumerator:
THREAD_CLOSE  thread is not running at all
THREAD_STARTING  thread is starting
THREAD_SLEEPING  thread is running and sleeping for waikup
THREAD_RUNNING  thread is running and doing job
THREAD_STOPPING  thread is stopping

Definition at line 96 of file thread.h.



© Copyright Terimber 2003-.