My Project
Toggle main menu visibility
Loading...
Searching...
No Matches
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
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
}
LibThread::Job::id
size_t id
Definition
shared.cc:1548
LibThread::Job::fast
bool fast
Definition
shared.cc:1556
LibThread::Job::prio
long prio
Definition
shared.cc:1547
The documentation for this struct was generated from the following file:
Singular/dyn_modules/systhreads/
shared.cc
Generated on
for My Project by
doxygen 1.17.0
for
Singular