Orocos Real-Time Toolkit
2.5.0
|
00001 /*************************************************************************** 00002 copyright : (C) 2008 Klaas Gadeyne 00003 email : firstname dot lastname at gmail dot com 00004 00005 *************************************************************************** 00006 * This library is free software; you can redistribute it and/or * 00007 * modify it under the terms of the GNU General Public * 00008 * License as published by the Free Software Foundation; * 00009 * version 2 of the License. * 00010 * * 00011 * As a special exception, you may use this file as part of a free * 00012 * software library without restriction. Specifically, if other files * 00013 * instantiate templates or use macros or inline functions from this * 00014 * file, or you compile this file and link it with other files to * 00015 * produce an executable, this file does not by itself cause the * 00016 * resulting executable to be covered by the GNU General Public * 00017 * License. This exception does not however invalidate any other * 00018 * reasons why the executable file might be covered by the GNU General * 00019 * Public License. * 00020 * * 00021 * This library is distributed in the hope that it will be useful, * 00022 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00024 * Lesser General Public License for more details. * 00025 * * 00026 * You should have received a copy of the GNU General Public * 00027 * License along with this library; if not, write to the Free Software * 00028 * Foundation, Inc., 59 Temple Place, * 00029 * Suite 330, Boston, MA 02111-1307 USA * 00030 * * 00031 ***************************************************************************/ 00032 00033 00034 00035 #include <os/threads.hpp> 00036 00037 /* See the darwin kernel programming guide e.g 00038 <http://docs.huihoo.com/darwin/kernel-programming-guide/scheduler/chapter_8_section_2.html#//apple_ref/doc/uid/TP30000905-CH211-BABFGDHA> 00039 */ 00040 namespace RTT 00041 { namespace os { 00042 00043 const int LowestPriority = 0; 00044 00045 const int HighestPriority = 63; 00046 00047 const int IncreasePriority = 1; 00048 00049 }}