Kea: isc::util::thread Namespace Reference

| Kea 1.5.0

Classes | Typedefs
isc::util::thread Namespace Reference

Wrappers for thread related functionality. More...

## Classes
class | CondVar
| Encapsulation for a condition variable. More...
class | Mutex
| Mutex with very simple interface. More...
class | Thread
| A separate thread. More...
class | WatchedThread
| Provides a thread and controls for monitoring its activities. More...

## Typedefs
typedef boost::shared_ptr< Thread > | ThreadPtr
| Thread pointer type.
typedef boost::shared_ptr< WatchedThread > | WatchedThreadPtr
| Defines a pointer to a WatchedThread.

## Detailed Description

Wrappers for thread related functionality.

We provide our own wrappers, currently around pthreads. We tried using the boost thread support, but it gave us some trouble, so we implemented in-house ones.

## Typedef Documentation

## ◆ ThreadPtr

typedef boost::shared_ptr<Thread> isc::util::thread::ThreadPtr

Thread pointer type.

Definition at line 101 of file thread.h.

## ◆ WatchedThreadPtr

typedef boost::shared_ptr<WatchedThread> isc::util::thread::WatchedThreadPtr

Defines a pointer to a WatchedThread.

Definition at line 123 of file watched_thread.h.