1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Xenomai API: ksrc/skins/native/task.c File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li>
<form action="search.php" method="get">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><label> <u>S</u>earch for </label></td>
<td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
</tr>
</table>
</form>
</li>
</ul>
</div>
</div>
<div class="contents">
<h1>ksrc/skins/native/task.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
This file is part of the Xenomai project.
<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>Copyright (C) 2004 Philippe Gerum <<a href="mailto:rpm@xenomai.org">rpm@xenomai.org</a>></dd></dl>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.<p>
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p>
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
<p>
<p>
<div class="dynheader">
Include dependency graph for task.c:</div>
<div class="dynsection">
<p><center><img src="ksrc_2skins_2native_2task_8c__incl.png" border="0" usemap="#ksrc/skins/native/task.c_map" alt=""></center>
<map name="ksrc/skins/native/task.c_map">
<area shape="rect" href="pod_8h.html" title="Real-time pod interface header." alt="" coords="615,84,724,111"><area shape="rect" href="nucleus_2heap_8h-source.html" title="nucleus/heap.h" alt="" coords="1315,161,1432,188"><area shape="rect" href="task_8h.html" title="This file is part of the Xenomai project." alt="" coords="793,84,897,111"><area shape="rect" href="include_2native_2timer_8h.html" title="This file is part of the Xenomai project." alt="" coords="921,84,1031,111"><area shape="rect" href="sched_8h.html" title="Scheduler interface header." alt="" coords="585,161,708,188"><area shape="rect" href="include_2nucleus_2thread_8h-source.html" title="nucleus/thread.h" alt="" coords="717,239,845,265"><area shape="rect" href="schedqueue_8h-source.html" title="nucleus/schedqueue.h" alt="" coords="975,316,1137,343"><area shape="rect" href="sched-tp_8h.html" title="Definitions for the TP scheduling class." alt="" coords="5,239,147,265"><area shape="rect" href="sched-sporadic_8h.html" title="Definitions for the SSP scheduling class." alt="" coords="171,239,355,265"><area shape="rect" href="sched-idle_8h.html" title="Definitions for the IDLE scheduling class." alt="" coords="379,239,531,265"><area shape="rect" href="sched-rt_8h.html" title="Definitions for the RT scheduling class." alt="" coords="555,239,693,265"><area shape="rect" href="nucleus_2types_8h-source.html" title="nucleus/types.h" alt="" coords="809,548,929,575"><area shape="rect" href="stat_8h-source.html" title="nucleus/stat.h" alt="" coords="808,393,920,420"><area shape="rect" href="include_2nucleus_2timer_8h.html" title="nucleus/timer.h" alt="" coords="823,316,943,343"><area shape="rect" href="include_2nucleus_2registry_8h.html" title="This file is part of the Xenomai project." alt="" coords="615,316,748,343"><area shape="rect" href="schedparam_8h-source.html" title="nucleus/schedparam.h" alt="" coords="371,316,536,343"><area shape="rect" href="compiler_8h-source.html" title="nucleus/compiler.h" alt="" coords="659,625,797,652"><area shape="rect" href="assert_8h-source.html" title="nucleus/assert.h" alt="" coords="944,625,1069,652"><area shape="rect" href="timebase_8h.html" title="nucleus/timebase.h" alt="" coords="944,393,1091,420"><area shape="rect" href="nucleus_2queue_8h-source.html" title="nucleus/queue.h" alt="" coords="947,471,1072,497"><area shape="rect" href="synch_8h-source.html" title="nucleus/synch.h" alt="" coords="661,393,784,420"><area shape="rect" href="native_2types_8h.html" title="This file is part of the Xenomai project." alt="" coords="920,161,1032,188"></map>
</div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g03387550693c21d0223f739570ccd992">rt_task_create</a> (RT_TASK *task, const char *name, int stksize, int prio, int mode)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new real-time task. <a href="group__task.html#g03387550693c21d0223f739570ccd992"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#gc9638918b8310a430088f5c9a04d2bb7">rt_task_start</a> (RT_TASK *task, void(*entry)(void *cookie), void *cookie)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Start a real-time task. <a href="group__task.html#gc9638918b8310a430088f5c9a04d2bb7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g926a4b10e3631f76c5f38910e6eea24c">rt_task_suspend</a> (RT_TASK *task)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Suspend a real-time task. <a href="group__task.html#g926a4b10e3631f76c5f38910e6eea24c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g1fab1aa24ef6f199546fd9669ae711be">rt_task_resume</a> (RT_TASK *task)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Resume a real-time task. <a href="group__task.html#g1fab1aa24ef6f199546fd9669ae711be"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#gb6e0d411830710e8cc82d77b9df19510">rt_task_delete</a> (RT_TASK *task)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Delete a real-time task. <a href="group__task.html#gb6e0d411830710e8cc82d77b9df19510"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g31e44b069b2486c2d2bdfb8a0a3557c8">rt_task_yield</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Manual round-robin. <a href="group__task.html#g31e44b069b2486c2d2bdfb8a0a3557c8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#gbabee94264156693cd4f5b9b70d3c5a1">rt_task_set_periodic</a> (RT_TASK *task, RTIME idate, RTIME period)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Make a real-time task periodic. <a href="group__task.html#gbabee94264156693cd4f5b9b70d3c5a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g1645d3a072ef3cefeed3bcbb27dcf108">rt_task_wait_period</a> (unsigned long *overruns_r)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Wait for the next periodic release point. <a href="group__task.html#g1645d3a072ef3cefeed3bcbb27dcf108"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g3bed8d001e212a3328a4e7e73f1765e8">rt_task_set_priority</a> (RT_TASK *task, int prio)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Change the base priority of a real-time task. <a href="group__task.html#g3bed8d001e212a3328a4e7e73f1765e8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#gd5225e5fb8d583fbdfa5299f322b8366">rt_task_sleep</a> (RTIME delay)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Delay the calling task (relative). <a href="group__task.html#gd5225e5fb8d583fbdfa5299f322b8366"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g0dc2deebe7500c9d21ff05d51d5efaa8">rt_task_sleep_until</a> (RTIME date)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Delay the calling task (absolute). <a href="group__task.html#g0dc2deebe7500c9d21ff05d51d5efaa8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g770281eeca009c0a08a7c4a9fd849ac1">rt_task_unblock</a> (RT_TASK *task)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Unblock a real-time task. <a href="group__task.html#g770281eeca009c0a08a7c4a9fd849ac1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g53bad6acf5496f8008e594954507dce8">rt_task_inquire</a> (RT_TASK *task, <a class="el" href="structrt__task__info.html">RT_TASK_INFO</a> *info)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Inquire about a real-time task. <a href="group__task.html#g53bad6acf5496f8008e594954507dce8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g7452f367f9e17bf2fc0b70f717b96dd8">rt_task_add_hook</a> (int type, void(*routine)(void *cookie))</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Install a task hook. <a href="group__task.html#g7452f367f9e17bf2fc0b70f717b96dd8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g585bcffb3757845534eed69edd1a27d2">rt_task_remove_hook</a> (int type, void(*routine)(void *cookie))</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove a task hook. <a href="group__task.html#g585bcffb3757845534eed69edd1a27d2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g8e17be7a49ac32bbeb3085b3cd1a9915">rt_task_catch</a> (void(*handler)(rt_sigset_t))</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Install a signal handler. <a href="group__task.html#g8e17be7a49ac32bbeb3085b3cd1a9915"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g70e65c2efb499c48c6d15010a1c630a3">rt_task_notify</a> (RT_TASK *task, rt_sigset_t signals)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Send signals to a task. <a href="group__task.html#g70e65c2efb499c48c6d15010a1c630a3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g915e7edfb0aaddb643794d7abc7093bf">rt_task_set_mode</a> (int clrmask, int setmask, int *mode_r)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Change task mode bits. <a href="group__task.html#g915e7edfb0aaddb643794d7abc7093bf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">RT_TASK * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#gaf5467af966c9980da9e489aeacf9aa3">rt_task_self</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the current task. <a href="group__task.html#gaf5467af966c9980da9e489aeacf9aa3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g9250436d7bd9e49a0320161d2e9373ae">rt_task_slice</a> (RT_TASK *task, RTIME quantum)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set a task's round-robin quantum. <a href="group__task.html#g9250436d7bd9e49a0320161d2e9373ae"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">ssize_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#g99a89c21c9866e2784860e100a444b49">rt_task_send</a> (RT_TASK *task, <a class="el" href="structrt__task__mcb.html">RT_TASK_MCB</a> *mcb_s, <a class="el" href="structrt__task__mcb.html">RT_TASK_MCB</a> *mcb_r, RTIME timeout)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Send a message to a task. <a href="group__task.html#g99a89c21c9866e2784860e100a444b49"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#ga152f8f41876fc3a828a8eba74d493fe">rt_task_receive</a> (<a class="el" href="structrt__task__mcb.html">RT_TASK_MCB</a> *mcb_r, RTIME timeout)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Receive a message from a task. <a href="group__task.html#ga152f8f41876fc3a828a8eba74d493fe"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__task.html#gcd8a4fb2d11f0548bd053dfbf92f9e9d">rt_task_reply</a> (int flowid, <a class="el" href="structrt__task__mcb.html">RT_TASK_MCB</a> *mcb_s)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reply to a task. <a href="group__task.html#gcd8a4fb2d11f0548bd053dfbf92f9e9d"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Aug 2 12:48:37 2010 for Xenomai API by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
|