My Project
Loading...
Searching...
No Matches
LibThread::JobCompare Struct Reference

Public Member Functions

bool operator() (const Job *lhs, const Job *rhs)
 

Detailed Description

Definition at line 1578 of file shared.cc.

Member Function Documentation

◆ operator()()

bool LibThread::JobCompare::operator() ( const Job * lhs,
const Job * rhs )
inline

Definition at line 1579 of file shared.cc.

1579 {
1580 if (lhs->fast < rhs->fast) {
1581 return true;
1582 }
1583 if (lhs->prio < rhs->prio) {
1584 return true;
1585 }
1586 if (lhs->prio == rhs->prio) {
1587 return lhs->id > rhs->id;
1588 }
1589 return false;
1590 }

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