miosix::GreaterPriority Class Reference
[Kernel]
#include <kernel.h>
List of all members.
Detailed Description
Function object to compare the priority of two threads.
Member Function Documentation
bool miosix::GreaterPriority::operator() |
( |
Thread * |
a, |
|
|
Thread * |
b | |
|
) |
| | [inline] |
- Parameters:
-
| a | first thread to compare |
| b | second thread to compare |
- Returns:
- true i a->get_priority() > b->get_priority()
Can be called when the kernel is paused.
The documentation for this class was generated from the following file:
- /Users/fede/Documents/Projects/ARM/miosix/miosix_np_2/miosix/kernel/kernel.h