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
|
<!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: include/native/mutex.h 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>include/native/mutex.h 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 mutex.h:</div>
<div class="dynsection">
<p><center><img src="include_2native_2mutex_8h__incl.png" border="0" usemap="#include/native/mutex.h_map" alt=""></center>
<map name="include/native/mutex.h_map">
<area shape="rect" href="native_2types_8h.html" title="This file is part of the Xenomai project." alt="" coords="336,84,448,111"><area shape="rect" href="nucleus_2types_8h-source.html" title="nucleus/types.h" alt="" coords="332,161,452,188"><area shape="rect" href="compiler_8h-source.html" title="nucleus/compiler.h" alt="" coords="323,239,461,265"><area shape="rect" href="assert_8h-source.html" title="nucleus/assert.h" alt="" coords="485,239,611,265"></map>
</div>
<p>
<div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dynsection">
<p><center><img src="include_2native_2mutex_8h__dep__incl.png" border="0" usemap="#include/native/mutex.hdep_map" alt=""></center>
<map name="include/native/mutex.hdep_map">
<area shape="rect" href="include_2native_2cond_8h.html" title="This file is part of the Xenomai project." alt="" coords="265,84,420,111"><area shape="rect" href="ksrc_2skins_2native_2cond_8c.html" title="This file is part of the Xenomai project." alt="" coords="5,161,176,188"><area shape="rect" href="skins_2native_2module_8c.html" title="This file is part of the Xenomai project." alt="" coords="200,161,389,188"><area shape="rect" href="native_2syscall_8c.html" title="This file is part of the Xenomai project." alt="" coords="413,161,597,188"><area shape="rect" href="ksrc_2skins_2native_2mutex_8c.html" title="This file is part of the Xenomai project." alt="" coords="495,84,676,111"></map>
</div>
<p>
<a href="include_2native_2mutex_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structrt__mutex__info.html">rt_mutex_info</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Structure containing mutex information useful to users. <a href="structrt__mutex__info.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef struct <a class="el" href="structrt__mutex__info.html">rt_mutex_info</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="include_2native_2mutex_8h.html#2023f25de9d6d86b4cfadbca6d42cc38">RT_MUTEX_INFO</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Structure containing mutex information useful to users. <a href="#2023f25de9d6d86b4cfadbca6d42cc38"></a><br></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__mutex.html#g39b3a0e7f6f6ee41b8068ed59e25d1d1">rt_mutex_bind</a> (RT_MUTEX *mutex, const char *name, RTIME timeout)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Bind to a mutex. <a href="group__mutex.html#g39b3a0e7f6f6ee41b8068ed59e25d1d1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__mutex.html#g3f308046a8fb83442d5d97e33d0516a4">rt_mutex_unbind</a> (RT_MUTEX *mutex)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Unbind from a mutex. <a href="group__mutex.html#g3f308046a8fb83442d5d97e33d0516a4"></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__mutex.html#gc89c13a781e4636acf9e66f02d9feb83">rt_mutex_create</a> (RT_MUTEX *mutex, const char *name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a mutex. <a href="group__mutex.html#gc89c13a781e4636acf9e66f02d9feb83"></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__mutex.html#gd0c2342227f821bd09f580b6a9684179">rt_mutex_delete</a> (RT_MUTEX *mutex)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Delete a mutex. <a href="group__mutex.html#gd0c2342227f821bd09f580b6a9684179"></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__mutex.html#g8a087d5bfeaaf10b6f0a924b272d72c9">rt_mutex_acquire</a> (RT_MUTEX *mutex, RTIME timeout)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Acquire a mutex. <a href="group__mutex.html#g8a087d5bfeaaf10b6f0a924b272d72c9"></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__mutex.html#g1d7ee706d0f898f940d5c1139fa38194">rt_mutex_acquire_until</a> (RT_MUTEX *mutex, RTIME timeout)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Acquire a mutex (with absolute timeout date). <a href="group__mutex.html#g1d7ee706d0f898f940d5c1139fa38194"></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__mutex.html#gc87911b7279f55ef2f5f9aefe36ff070">rt_mutex_release</a> (RT_MUTEX *mutex)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Unlock mutex. <a href="group__mutex.html#gc87911b7279f55ef2f5f9aefe36ff070"></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__mutex.html#g8f7db304bb5a839d81614f00c4cde145">rt_mutex_inquire</a> (RT_MUTEX *mutex, <a class="el" href="structrt__mutex__info.html">RT_MUTEX_INFO</a> *info)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Inquire about a mutex. <a href="group__mutex.html#g8f7db304bb5a839d81614f00c4cde145"></a><br></td></tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="2023f25de9d6d86b4cfadbca6d42cc38"></a><!-- doxytag: member="mutex.h::RT_MUTEX_INFO" ref="2023f25de9d6d86b4cfadbca6d42cc38" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structrt__mutex__info.html">rt_mutex_info</a> <a class="el" href="structrt__mutex__info.html">RT_MUTEX_INFO</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Structure containing mutex information useful to users.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mutex.html#g8f7db304bb5a839d81614f00c4cde145" title="Inquire about a mutex.">rt_mutex_inquire()</a> </dd></dl>
</div>
</div><p>
</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>
|