My Project
LibThread
JobCompare
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
}
LibThread::Job::id
size_t id
Definition:
shared.cc:1553
LibThread::Job::fast
bool fast
Definition:
shared.cc:1561
LibThread::Job::prio
long prio
Definition:
shared.cc:1552
The documentation for this struct was generated from the following file:
Singular/dyn_modules/systhreads/
shared.cc
Generated on Tue Dec 14 2021 20:27:46 for My Project by
doxygen 1.9.1
for
Singular