/usr/share/doc/dbus/api/structDBusThreadFunctions.html is in dbus-1-doc 1.10.6-1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>D-Bus: DBusThreadFunctions Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">D-Bus
 <span id="projectnumber">1.10.6</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.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 class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">DBusThreadFunctions Struct Reference<div class="ingroups"><a class="el" href="group__DBus.html">D-Bus low-level public API</a> » <a class="el" href="group__DBusThreads.html">Thread functions</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>Functions that must be implemented to make the D-Bus library thread-aware.
<a href="structDBusThreadFunctions.html#details">More...</a></p>
<p><code>#include <<a class="el" href="dbus-threads_8h_source.html">dbus-threads.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a8f1c2a3b3805e2c4034d7a341f7f82f1"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a8f1c2a3b3805e2c4034d7a341f7f82f1">mask</a></td></tr>
<tr class="memdesc:a8f1c2a3b3805e2c4034d7a341f7f82f1"><td class="mdescLeft"> </td><td class="mdescRight">Mask indicating which functions are present. <a href="#a8f1c2a3b3805e2c4034d7a341f7f82f1">More...</a><br /></td></tr>
<tr class="separator:a8f1c2a3b3805e2c4034d7a341f7f82f1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a342ba12a619162a5b228903076b46a44"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__DBusThreads.html#ga3c071d0586484f396f78ecb630313b53">DBusMutexNewFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a342ba12a619162a5b228903076b46a44">mutex_new</a></td></tr>
<tr class="memdesc:a342ba12a619162a5b228903076b46a44"><td class="mdescLeft"> </td><td class="mdescRight">Function to create a mutex; optional and deprecated. <a href="#a342ba12a619162a5b228903076b46a44">More...</a><br /></td></tr>
<tr class="separator:a342ba12a619162a5b228903076b46a44"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a01107266a74895f13af9962af6ad07dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__DBusThreads.html#ga4edab3877bfc933141cb5ff88312c275">DBusMutexFreeFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a01107266a74895f13af9962af6ad07dd">mutex_free</a></td></tr>
<tr class="memdesc:a01107266a74895f13af9962af6ad07dd"><td class="mdescLeft"> </td><td class="mdescRight">Function to free a mutex; optional and deprecated. <a href="#a01107266a74895f13af9962af6ad07dd">More...</a><br /></td></tr>
<tr class="separator:a01107266a74895f13af9962af6ad07dd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1cc9d20f2ad0296e932951470063f8d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__DBusThreads.html#gab384a02862524eedfe95b9690753c687">DBusMutexLockFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a1cc9d20f2ad0296e932951470063f8d0">mutex_lock</a></td></tr>
<tr class="memdesc:a1cc9d20f2ad0296e932951470063f8d0"><td class="mdescLeft"> </td><td class="mdescRight">Function to lock a mutex; optional and deprecated. <a href="#a1cc9d20f2ad0296e932951470063f8d0">More...</a><br /></td></tr>
<tr class="separator:a1cc9d20f2ad0296e932951470063f8d0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a334d478ec305b04f526537c131cd8e8a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__DBusThreads.html#gacf3c3edd338ed40c45a86f5730fd469a">DBusMutexUnlockFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a334d478ec305b04f526537c131cd8e8a">mutex_unlock</a></td></tr>
<tr class="memdesc:a334d478ec305b04f526537c131cd8e8a"><td class="mdescLeft"> </td><td class="mdescRight">Function to unlock a mutex; optional and deprecated. <a href="#a334d478ec305b04f526537c131cd8e8a">More...</a><br /></td></tr>
<tr class="separator:a334d478ec305b04f526537c131cd8e8a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1796b617165734984bc40d38f9600d78"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1796b617165734984bc40d38f9600d78"></a>
<a class="el" href="group__DBusThreads.html#gab5a353de40fac6f391d182955874368b">DBusCondVarNewFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a1796b617165734984bc40d38f9600d78">condvar_new</a></td></tr>
<tr class="memdesc:a1796b617165734984bc40d38f9600d78"><td class="mdescLeft"> </td><td class="mdescRight">Function to create a condition variable. <br /></td></tr>
<tr class="separator:a1796b617165734984bc40d38f9600d78"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad302412c382190eddc05736f24d8855c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad302412c382190eddc05736f24d8855c"></a>
<a class="el" href="group__DBusThreads.html#gae459df8accd530029cdf53e2006c46d0">DBusCondVarFreeFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#ad302412c382190eddc05736f24d8855c">condvar_free</a></td></tr>
<tr class="memdesc:ad302412c382190eddc05736f24d8855c"><td class="mdescLeft"> </td><td class="mdescRight">Function to free a condition variable. <br /></td></tr>
<tr class="separator:ad302412c382190eddc05736f24d8855c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae4cb6e9fe7c0813213561150721f349c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae4cb6e9fe7c0813213561150721f349c"></a>
<a class="el" href="group__DBusThreads.html#gad8b35a0b02463d0756dddb8b28b52d66">DBusCondVarWaitFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#ae4cb6e9fe7c0813213561150721f349c">condvar_wait</a></td></tr>
<tr class="memdesc:ae4cb6e9fe7c0813213561150721f349c"><td class="mdescLeft"> </td><td class="mdescRight">Function to wait on a condition. <br /></td></tr>
<tr class="separator:ae4cb6e9fe7c0813213561150721f349c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5e049c7bdf4d83a85ebce31d838d4218"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e049c7bdf4d83a85ebce31d838d4218"></a>
<a class="el" href="group__DBusThreads.html#ga629b7534f21496149281235889de222e">DBusCondVarWaitTimeoutFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a5e049c7bdf4d83a85ebce31d838d4218">condvar_wait_timeout</a></td></tr>
<tr class="memdesc:a5e049c7bdf4d83a85ebce31d838d4218"><td class="mdescLeft"> </td><td class="mdescRight">Function to wait on a condition with a timeout. <br /></td></tr>
<tr class="separator:a5e049c7bdf4d83a85ebce31d838d4218"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3f1301eacf666381ec6c39100e6787e1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3f1301eacf666381ec6c39100e6787e1"></a>
<a class="el" href="group__DBusThreads.html#gac333e947171df6d99d59cd0c847e6df6">DBusCondVarWakeOneFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a3f1301eacf666381ec6c39100e6787e1">condvar_wake_one</a></td></tr>
<tr class="memdesc:a3f1301eacf666381ec6c39100e6787e1"><td class="mdescLeft"> </td><td class="mdescRight">Function to wake one thread waiting on the condition. <br /></td></tr>
<tr class="separator:a3f1301eacf666381ec6c39100e6787e1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a128295c0019a401163d04ea0e291b36c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a128295c0019a401163d04ea0e291b36c"></a>
<a class="el" href="group__DBusThreads.html#gad721dc686fd09d65dd932b7a35b079ac">DBusCondVarWakeAllFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a128295c0019a401163d04ea0e291b36c">condvar_wake_all</a></td></tr>
<tr class="memdesc:a128295c0019a401163d04ea0e291b36c"><td class="mdescLeft"> </td><td class="mdescRight">Function to wake all threads waiting on the condition. <br /></td></tr>
<tr class="separator:a128295c0019a401163d04ea0e291b36c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afd30fb78a3ca1064bc8c074a6a61361e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd30fb78a3ca1064bc8c074a6a61361e"></a>
<a class="el" href="group__DBusThreads.html#ga851e79e67071b88a86566ff28fdd5ce1">DBusRecursiveMutexNewFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#afd30fb78a3ca1064bc8c074a6a61361e">recursive_mutex_new</a></td></tr>
<tr class="memdesc:afd30fb78a3ca1064bc8c074a6a61361e"><td class="mdescLeft"> </td><td class="mdescRight">Function to create a recursive mutex. <br /></td></tr>
<tr class="separator:afd30fb78a3ca1064bc8c074a6a61361e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8be6d85b7f162352efa5bb4a5663f44f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8be6d85b7f162352efa5bb4a5663f44f"></a>
<a class="el" href="group__DBusThreads.html#ga59b68fd20afc8ae683f7952ddca3cf6c">DBusRecursiveMutexFreeFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a8be6d85b7f162352efa5bb4a5663f44f">recursive_mutex_free</a></td></tr>
<tr class="memdesc:a8be6d85b7f162352efa5bb4a5663f44f"><td class="mdescLeft"> </td><td class="mdescRight">Function to free a recursive mutex. <br /></td></tr>
<tr class="separator:a8be6d85b7f162352efa5bb4a5663f44f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae99179276be65fe4f701de307882dac5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae99179276be65fe4f701de307882dac5"></a>
<a class="el" href="group__DBusThreads.html#gac97c53c87b0f30fd5346c8d3e1543a08">DBusRecursiveMutexLockFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#ae99179276be65fe4f701de307882dac5">recursive_mutex_lock</a></td></tr>
<tr class="memdesc:ae99179276be65fe4f701de307882dac5"><td class="mdescLeft"> </td><td class="mdescRight">Function to lock a recursive mutex. <br /></td></tr>
<tr class="separator:ae99179276be65fe4f701de307882dac5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0bdb8cd9b263bcde5a0548b16ccd0702"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0bdb8cd9b263bcde5a0548b16ccd0702"></a>
<a class="el" href="group__DBusThreads.html#gadcae985ee1375a12fedc767e90bac3b8">DBusRecursiveMutexUnlockFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a0bdb8cd9b263bcde5a0548b16ccd0702">recursive_mutex_unlock</a></td></tr>
<tr class="memdesc:a0bdb8cd9b263bcde5a0548b16ccd0702"><td class="mdescLeft"> </td><td class="mdescRight">Function to unlock a recursive mutex. <br /></td></tr>
<tr class="separator:a0bdb8cd9b263bcde5a0548b16ccd0702"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a46a194147f5a2ec372a3d5c81a4f7dee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a46a194147f5a2ec372a3d5c81a4f7dee"></a>
void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a46a194147f5a2ec372a3d5c81a4f7dee">padding1</a> )(void)</td></tr>
<tr class="memdesc:a46a194147f5a2ec372a3d5c81a4f7dee"><td class="mdescLeft"> </td><td class="mdescRight">Reserved for future expansion. <br /></td></tr>
<tr class="separator:a46a194147f5a2ec372a3d5c81a4f7dee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3f2db0f1ca226fe240144632dbe84409"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3f2db0f1ca226fe240144632dbe84409"></a>
void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a3f2db0f1ca226fe240144632dbe84409">padding2</a> )(void)</td></tr>
<tr class="memdesc:a3f2db0f1ca226fe240144632dbe84409"><td class="mdescLeft"> </td><td class="mdescRight">Reserved for future expansion. <br /></td></tr>
<tr class="separator:a3f2db0f1ca226fe240144632dbe84409"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ade37a0867cfede69b5a0b62186df2054"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade37a0867cfede69b5a0b62186df2054"></a>
void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#ade37a0867cfede69b5a0b62186df2054">padding3</a> )(void)</td></tr>
<tr class="memdesc:ade37a0867cfede69b5a0b62186df2054"><td class="mdescLeft"> </td><td class="mdescRight">Reserved for future expansion. <br /></td></tr>
<tr class="separator:ade37a0867cfede69b5a0b62186df2054"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a865535feb9efe4c0af66fdab7c9411d8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a865535feb9efe4c0af66fdab7c9411d8"></a>
void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structDBusThreadFunctions.html#a865535feb9efe4c0af66fdab7c9411d8">padding4</a> )(void)</td></tr>
<tr class="memdesc:a865535feb9efe4c0af66fdab7c9411d8"><td class="mdescLeft"> </td><td class="mdescRight">Reserved for future expansion. <br /></td></tr>
<tr class="separator:a865535feb9efe4c0af66fdab7c9411d8"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Functions that must be implemented to make the D-Bus library thread-aware. </p>
<p>If you supply both recursive and non-recursive mutexes, libdbus will use the non-recursive version for condition variables, and the recursive version in other contexts.</p>
<p>The condition variable functions have to work with nonrecursive mutexes if you provide those, or with recursive mutexes if you don't. </p>
<p>Definition at line <a class="el" href="dbus-threads_8h_source.html#l00152">152</a> of file <a class="el" href="dbus-threads_8h_source.html">dbus-threads.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a8f1c2a3b3805e2c4034d7a341f7f82f1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int DBusThreadFunctions::mask</td>
</tr>
</table>
</div><div class="memdoc">
<p>Mask indicating which functions are present. </p>
<p>Definition at line <a class="el" href="dbus-threads_8h_source.html#l00154">154</a> of file <a class="el" href="dbus-threads_8h_source.html">dbus-threads.h</a>.</p>
</div>
</div>
<a class="anchor" id="a01107266a74895f13af9962af6ad07dd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__DBusThreads.html#ga4edab3877bfc933141cb5ff88312c275">DBusMutexFreeFunction</a> DBusThreadFunctions::mutex_free</td>
</tr>
</table>
</div><div class="memdoc">
<p>Function to free a mutex; optional and deprecated. </p>
<p>Definition at line <a class="el" href="dbus-threads_8h_source.html#l00157">157</a> of file <a class="el" href="dbus-threads_8h_source.html">dbus-threads.h</a>.</p>
</div>
</div>
<a class="anchor" id="a1cc9d20f2ad0296e932951470063f8d0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__DBusThreads.html#gab384a02862524eedfe95b9690753c687">DBusMutexLockFunction</a> DBusThreadFunctions::mutex_lock</td>
</tr>
</table>
</div><div class="memdoc">
<p>Function to lock a mutex; optional and deprecated. </p>
<p>Definition at line <a class="el" href="dbus-threads_8h_source.html#l00158">158</a> of file <a class="el" href="dbus-threads_8h_source.html">dbus-threads.h</a>.</p>
</div>
</div>
<a class="anchor" id="a342ba12a619162a5b228903076b46a44"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__DBusThreads.html#ga3c071d0586484f396f78ecb630313b53">DBusMutexNewFunction</a> DBusThreadFunctions::mutex_new</td>
</tr>
</table>
</div><div class="memdoc">
<p>Function to create a mutex; optional and deprecated. </p>
<p>Definition at line <a class="el" href="dbus-threads_8h_source.html#l00156">156</a> of file <a class="el" href="dbus-threads_8h_source.html">dbus-threads.h</a>.</p>
</div>
</div>
<a class="anchor" id="a334d478ec305b04f526537c131cd8e8a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__DBusThreads.html#gacf3c3edd338ed40c45a86f5730fd469a">DBusMutexUnlockFunction</a> DBusThreadFunctions::mutex_unlock</td>
</tr>
</table>
</div><div class="memdoc">
<p>Function to unlock a mutex; optional and deprecated. </p>
<p>Definition at line <a class="el" href="dbus-threads_8h_source.html#l00159">159</a> of file <a class="el" href="dbus-threads_8h_source.html">dbus-threads.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="dbus-threads_8h_source.html">dbus-threads.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
|