DCL 4.0
Loading...
Searching...
No Matches
PollThread.cpp File Reference
#include <dcl/Config.h>
#include <errno.h>
#include <sys/poll.h>
#include <dcl/ArrayT.h>
#include <dcl/PollAble.h>
#include <dcl/PollThread.h>

Go to the source code of this file.

Classes

struct  POLLFD

Functions

__DCL_BEGIN_NAMESPACE IMPLEMENT_CLASSINFO (PollThread, Thread) PollThread
bool operator== (const POLLFD &_x, const POLLFD &_y)

Function Documentation

◆ IMPLEMENT_CLASSINFO()

__DCL_BEGIN_NAMESPACE IMPLEMENT_CLASSINFO ( PollThread ,
Thread  )

Definition at line 22 of file PollThread.cpp.

25 : Thread(_name)
26{
27 __terminate = false;
28}

◆ operator==()

bool operator== ( const POLLFD & _x,
const POLLFD & _y )
inline

Definition at line 92 of file PollThread.cpp.

93{
94 return _x.fd == _y.fd;
95}