Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QThreadPipe Struct Reference

#include <qeventdispatcher_unix_p.h>

Collaboration diagram for QThreadPipe:

Public Member Functions

 QThreadPipe ()
 ~QThreadPipe ()
bool init ()
pollfd prepare () const
void wakeUp ()
int check (const pollfd &pfd)

Public Attributes

int fds [2] = { -1, -1 }
QAtomicInt wakeUps

Detailed Description

Definition at line 42 of file qeventdispatcher_unix_p.h.

Constructor & Destructor Documentation

◆ QThreadPipe()

QThreadPipe::QThreadPipe ( )

Definition at line 63 of file qeventdispatcher_unix.cpp.

◆ ~QThreadPipe()

QThreadPipe::~QThreadPipe ( )

Definition at line 67 of file qeventdispatcher_unix.cpp.

References fds.

Member Function Documentation

◆ check()

int QThreadPipe::check ( const pollfd & pfd)

Definition at line 165 of file qeventdispatcher_unix.cpp.

References fds.

◆ init()

bool QThreadPipe::init ( )

Definition at line 97 of file qeventdispatcher_unix.cpp.

References fds.

◆ prepare()

pollfd QThreadPipe::prepare ( ) const

Definition at line 148 of file qeventdispatcher_unix.cpp.

◆ wakeUp()

void QThreadPipe::wakeUp ( )

Definition at line 153 of file qeventdispatcher_unix.cpp.

References fds.

Member Data Documentation

◆ fds

int QThreadPipe::fds[2] = { -1, -1 }

Definition at line 55 of file qeventdispatcher_unix_p.h.

Referenced by ~QThreadPipe(), check(), init(), and wakeUp().

◆ wakeUps

QAtomicInt QThreadPipe::wakeUps

Definition at line 56 of file qeventdispatcher_unix_p.h.


The documentation for this struct was generated from the following files: