Qt 4.8
Classes | Functions
qthreadpool.cpp File Reference
#include "qthreadpool.h"
#include "qthreadpool_p.h"
#include "qelapsedtimer.h"

Go to the source code of this file.

Classes

class  QThreadPoolThread
 

Functions

bool operator< (int priority, const QPair< QRunnable *, int > &p)
 
bool operator< (const QPair< QRunnable *, int > &p, int priority)
 

Function Documentation

◆ operator<() [1/2]

bool operator< ( int  priority,
const QPair< QRunnable *, int > &  p 
)
inline

◆ operator<() [2/2]

bool operator< ( const QPair< QRunnable *, int > &  p,
int  priority 
)
inline

Definition at line 54 of file qthreadpool.cpp.

55 {
56  return priority < p.second;
57 }
T2 second
Definition: qpair.h:66