Orocos Real-Time Toolkit  2.8.3
gnuthreads.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  copyright : (C) 2008 Klaas Gadeyne
3  email : firstname dot lastname at gmail dot com
4 
5  ***************************************************************************
6  * This library is free software; you can redistribute it and/or *
7  * modify it under the terms of the GNU General Public *
8  * License as published by the Free Software Foundation; *
9  * version 2 of the License. *
10  * *
11  * As a special exception, you may use this file as part of a free *
12  * software library without restriction. Specifically, if other files *
13  * instantiate templates or use macros or inline functions from this *
14  * file, or you compile this file and link it with other files to *
15  * produce an executable, this file does not by itself cause the *
16  * resulting executable to be covered by the GNU General Public *
17  * License. This exception does not however invalidate any other *
18  * reasons why the executable file might be covered by the GNU General *
19  * Public License. *
20  * *
21  * This library is distributed in the hope that it will be useful, *
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
24  * Lesser General Public License for more details. *
25  * *
26  * You should have received a copy of the GNU General Public *
27  * License along with this library; if not, write to the Free Software *
28  * Foundation, Inc., 59 Temple Place, *
29  * Suite 330, Boston, MA 02111-1307 USA *
30  * *
31  ***************************************************************************/
32 
33 
34 
35 #include <os/threads.hpp>
36 
37 /* See the darwin kernel programming guide e.g
38  <http://docs.huihoo.com/darwin/kernel-programming-guide/scheduler/chapter_8_section_2.html#//apple_ref/doc/uid/TP30000905-CH211-BABFGDHA>
39  */
40 namespace RTT
41 { namespace os {
42 
43  const int LowestPriority = 0;
44 
45  const int HighestPriority = 63;
46 
47  const int IncreasePriority = 1;
48 
49 }}
const int HighestPriority
An integer denoting the highest priority of the selected OS.
Definition: ecosthreads.cpp:45
const int LowestPriority
An integer denoting the lowest priority of the selected OS.
Definition: ecosthreads.cpp:44
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Definition: Activity.cpp:51
const int IncreasePriority
An interval to be added &#39;n&#39; times to LowestPriority to get an &#39;n&#39; times higher priority.
Definition: ecosthreads.cpp:46