1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <meta http-equiv=
"Content-Type" content=
"text/xhtml;charset=UTF-8"/>
5 <title>Xenomai API: ksrc/skins/native/sem.c File Reference
</title>
6 <link href=
"tabs.css" rel=
"stylesheet" type=
"text/css"/>
7 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css"/>
10 <!-- Generated by Doxygen 1.7.1 -->
11 <div class=
"navigation" id=
"top">
14 <li><a href=
"main.html"><span>Main
Page
</span></a></li>
15 <li><a href=
"pages.html"><span>Related
Pages
</span></a></li>
16 <li><a href=
"modules.html"><span>Modules
</span></a></li>
17 <li><a href=
"annotated.html"><span>Data
Structures
</span></a></li>
18 <li class=
"current"><a href=
"files.html"><span>Files
</span></a></li>
19 <li><a href=
"examples.html"><span>Examples
</span></a></li>
24 <li><a href=
"files.html"><span>File
List
</span></a></li>
25 <li><a href=
"globals.html"><span>Globals
</span></a></li>
31 <a href=
"#func-members">Functions
</a> </div>
32 <div class=
"headertitle">
33 <h1>ksrc/skins/native/sem.c File Reference
</h1> </div>
35 <div class=
"contents">
37 <p>This file is part of the Xenomai project.
38 <a href=
"#_details">More...
</a></p>
39 <div class=
"dynheader">
40 Include dependency graph for sem.c:
</div>
41 <div class=
"dyncontent">
42 <div class=
"center"><img src=
"ksrc_2skins_2native_2sem_8c__incl.png" border=
"0" usemap=
"#ksrc_2skins_2native_2sem_8c" alt=
""/></div>
43 <map name=
"ksrc_2skins_2native_2sem_8c" id=
"ksrc_2skins_2native_2sem_8c">
44 <area shape=
"rect" id=
"node3" href=
"pod_8h.html" title=
"Real-time pod interface header." alt=
"" coords=
"485,83,595,112"/><area shape=
"rect" id=
"node39" href=
"include_2nucleus_2registry_8h.html" title=
"This file is part of the Xenomai project." alt=
"" coords=
"872,315,1005,344"/><area shape=
"rect" id=
"node61" href=
"nucleus_2heap_8h_source.html" title=
"nucleus/heap.h" alt=
"" coords=
"5,160,123,189"/><area shape=
"rect" id=
"node64" href=
"task_8h.html" title=
"This file is part of the Xenomai project." alt=
"" coords=
"353,83,457,112"/><area shape=
"rect" id=
"node70" href=
"include_2native_2sem_8h.html" title=
"This file is part of the Xenomai project." alt=
"" coords=
"209,83,313,112"/><area shape=
"rect" id=
"node5" href=
"sched_8h.html" title=
"Scheduler interface header." alt=
"" coords=
"481,160,607,189"/><area shape=
"rect" id=
"node7" href=
"include_2nucleus_2thread_8h_source.html" title=
"nucleus/thread.h" alt=
"" coords=
"637,237,765,267"/><area shape=
"rect" id=
"node31" href=
"vfile_8h.html" title=
"This file is part of the Xenomai project." alt=
"" coords=
"971,469,1083,499"/><area shape=
"rect" id=
"node48" href=
"schedqueue_8h_source.html" title=
"nucleus/schedqueue.h" alt=
"" coords=
"248,315,413,344"/><area shape=
"rect" id=
"node51" href=
"sched-tp_8h.html" title=
"Definitions for the TP scheduling class." alt=
"" coords=
"789,237,931,267"/><area shape=
"rect" id=
"node53" href=
"sched-sporadic_8h.html" title=
"Definitions for the SSP scheduling class." alt=
"" coords=
"955,237,1139,267"/><area shape=
"rect" id=
"node56" href=
"sched-idle_8h.html" title=
"Definitions for the IDLE scheduling class." alt=
"" coords=
"299,237,451,267"/><area shape=
"rect" id=
"node58" href=
"sched-rt_8h.html" title=
"Definitions for the RT scheduling class." alt=
"" coords=
"475,237,613,267"/><area shape=
"rect" id=
"node9" href=
"nucleus_2types_8h_source.html" title=
"nucleus/types.h" alt=
"" coords=
"515,547,637,576"/><area shape=
"rect" id=
"node20" href=
"stat_8h_source.html" title=
"nucleus/stat.h" alt=
"" coords=
"784,392,896,421"/><area shape=
"rect" id=
"node23" href=
"include_2nucleus_2timer_8h.html" title=
"nucleus/timer.h" alt=
"" coords=
"677,315,797,344"/><area shape=
"rect" id=
"node46" href=
"schedparam_8h_source.html" title=
"nucleus/schedparam.h" alt=
"" coords=
"437,315,603,344"/><area shape=
"rect" id=
"node15" href=
"compiler_8h_source.html" title=
"nucleus/compiler.h" alt=
"" coords=
"765,624,907,653"/><area shape=
"rect" id=
"node17" href=
"assert_8h_source.html" title=
"nucleus/assert.h" alt=
"" coords=
"296,624,421,653"/><area shape=
"rect" id=
"node25" href=
"timebase_8h.html" title=
"nucleus/timebase.h" alt=
"" coords=
"613,392,760,421"/><area shape=
"rect" id=
"node27" href=
"nucleus_2queue_8h_source.html" title=
"nucleus/queue.h" alt=
"" coords=
"107,469,232,499"/><area shape=
"rect" id=
"node42" href=
"synch_8h_source.html" title=
"nucleus/synch.h" alt=
"" coords=
"108,392,231,421"/><area shape=
"rect" id=
"node67" href=
"native_2types_8h.html" title=
"This file is part of the Xenomai project." alt=
"" coords=
"205,160,317,189"/></map>
46 <table class=
"memberdecls">
47 <tr><td colspan=
"2"><h2><a name=
"func-members"></a>
48 Functions
</h2></td></tr>
49 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__semaphore.html#gaba36e3ac8972ea74feb60640e58d1ceb">rt_sem_create
</a> (RT_SEM *sem, const char *name, unsigned long icount, int mode)
</td></tr>
50 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Create a counting semaphore.
<a href=
"group__semaphore.html#gaba36e3ac8972ea74feb60640e58d1ceb"></a><br/></td></tr>
51 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__semaphore.html#gaa14cefc4dae46a7c95859e7fe46df888">rt_sem_delete
</a> (RT_SEM *sem)
</td></tr>
52 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Delete a semaphore.
<a href=
"group__semaphore.html#gaa14cefc4dae46a7c95859e7fe46df888"></a><br/></td></tr>
53 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__semaphore.html#gadd299dfe4a53194870bf4e158ca89d1f">rt_sem_p
</a> (RT_SEM *sem, RTIME timeout)
</td></tr>
54 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Pend on a semaphore.
<a href=
"group__semaphore.html#gadd299dfe4a53194870bf4e158ca89d1f"></a><br/></td></tr>
55 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__semaphore.html#gac481c1f1a2184a998deb2110f2c5b04d">rt_sem_p_until
</a> (RT_SEM *sem, RTIME timeout)
</td></tr>
56 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Pend on a semaphore (with absolute timeout date).
<a href=
"group__semaphore.html#gac481c1f1a2184a998deb2110f2c5b04d"></a><br/></td></tr>
57 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__semaphore.html#gaa5a7927862a511a27741223e08e48270">rt_sem_v
</a> (RT_SEM *sem)
</td></tr>
58 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Signal a semaphore.
<a href=
"group__semaphore.html#gaa5a7927862a511a27741223e08e48270"></a><br/></td></tr>
59 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__semaphore.html#ga4a8963240e68d164a2e5bb148da44fbc">rt_sem_broadcast
</a> (RT_SEM *sem)
</td></tr>
60 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Broadcast a semaphore.
<a href=
"group__semaphore.html#ga4a8963240e68d164a2e5bb148da44fbc"></a><br/></td></tr>
61 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__semaphore.html#ga48235bfa78df58a71d7a38582898cb07">rt_sem_inquire
</a> (RT_SEM *sem, RT_SEM_INFO *info)
</td></tr>
62 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Inquire about a semaphore.
<a href=
"group__semaphore.html#ga48235bfa78df58a71d7a38582898cb07"></a><br/></td></tr>
64 <hr/><a name=
"_details"></a><h2>Detailed Description
</h2>
65 <p>This file is part of the Xenomai project.
</p>
66 <dl class=
"note"><dt><b>Note:
</b></dt><dd>Copyright (C)
2004 Philippe Gerum
<<a href=
"mailto:rpm@xenomai.org">rpm@xenomai.org
</a>></dd></dl>
67 <p>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>
68 <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>
69 <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>
71 <hr class=
"footer"/><address class=
"footer"><small>Generated on Wed Nov
2 2011 18:
01:
09 for Xenomai API by
72 <a href=
"http://www.doxygen.org/index.html">
73 <img class=
"footer" src=
"doxygen.png" alt=
"doxygen"/></a> 1.7.1 </small></address>