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

Public Member Functions

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

Detailed Description

Definition at line 1583 of file shared.cc.

Member Function Documentation

◆ operator()()

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

Definition at line 1584 of file shared.cc.

1584 {
1585 if (lhs->fast < rhs->fast) {
1586 return true;
1587 }
1588 if (lhs->prio < rhs->prio) {
1589 return true;
1590 }
1591 if (lhs->prio == rhs->prio) {
1592 return lhs->id > rhs->id;
1593 }
1594 return false;
1595 }

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