MythTV  master
Classes | Functions
mthread.h File Reference
#include <QThread>
#include "mythbaseexp.h"
Include dependency graph for mthread.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MThread
 This is a wrapper around QThread that does several additional things. More...
 

Functions

bool MBASE_PUBLIC is_current_thread (MThread *thread)
 Use this to determine if you are in the named thread. More...
 
bool MBASE_PUBLIC is_current_thread (QThread *thread)
 Use this to determine if you are in the named thread. More...
 
bool MBASE_PUBLIC is_current_thread (MThread &thread)
 Use this to determine if you are in the named thread. More...
 

Function Documentation

◆ is_current_thread() [1/3]

bool MBASE_PUBLIC is_current_thread ( MThread thread)

◆ is_current_thread() [2/3]

bool MBASE_PUBLIC is_current_thread ( QThread *  thread)

Use this to determine if you are in the named thread.

Definition at line 48 of file mthread.cpp.

◆ is_current_thread() [3/3]

bool MBASE_PUBLIC is_current_thread ( MThread thread)

Use this to determine if you are in the named thread.

Definition at line 55 of file mthread.cpp.