MPD: Thread Class Reference

MPD 0.20.15

Public Member Functions
Thread Class Reference

`#include <Thread.hxx>`

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

## Detailed Description

Definition at line 34 of file Thread.hxx.

## Constructor & Destructor Documentation

## ◆ Thread() [1/2]

Thread::Thread | ( |  | ) |
| default

## ◆ Thread() [2/2]

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

## ◆ ~Thread()

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

Definition at line 61 of file Thread.hxx.

## Member Function Documentation

## ◆ IsDefined()

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

Definition at line 68 of file Thread.hxx.

## ◆ IsInside()

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

Check if this thread is the current thread.

Definition at line 80 of file Thread.hxx.

## ◆ Join()

void Thread::Join | ( |  | ) |

## ◆ Start()

bool Thread::Start | ( | void(*)(void *ctx) | f,
|  | void * | ctx
| ) |  |

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

- thread/Thread.hxx