MPD: Thread Class Reference

MPD 0.20.18

Public Member Functions
Thread Class Reference

`#include <Thread.hxx>`

## Public Member Functions
| Thread (Function _f)
| Thread (const Thread &)=delete
| ~Thread ()
bool | IsDefined () const
gcc_pure bool | IsInside () const noexcept
| Check if this thread is the current thread. More...
void | Start ()
void | Join ()

## Detailed Description

Definition at line 35 of file Thread.hxx.

## Constructor & Destructor Documentation

## ◆ Thread() [1/2]

Thread::Thread | ( | Function | _f | ) |
| inlineexplicit

Definition at line 57 of file Thread.hxx.

## ◆ Thread() [2/2]

Thread::Thread | ( | const Thread & |  | ) |
| delete

## ◆ ~Thread()

Thread::~Thread | ( |  | ) |
| inline

Definition at line 62 of file Thread.hxx.

## Member Function Documentation

## ◆ IsDefined()

bool Thread::IsDefined | ( |  | ) | const
| inline

Definition at line 69 of file Thread.hxx.

## ◆ IsInside()

gcc_pure bool Thread::IsInside | ( |  | ) | const
| inlinenoexcept

Check if this thread is the current thread.

Definition at line 82 of file Thread.hxx.

## ◆ Join()

void Thread::Join | ( |  | ) |

## ◆ Start()

void Thread::Start | ( |  | ) |

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

- thread/Thread.hxx