miosix::GreaterPriority Class Reference
[Kernel]

#include <kernel.h>

List of all members.

Public Member Functions

bool operator() (Thread *a, Thread *b)


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:

Generated on Mon Aug 30 00:05:00 2010 for Miosix by  doxygen 1.5.9