1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3<title>osclconfig_proc_unix_common.h File Reference</title> 4<link href="doxygen.css" rel="stylesheet" type="text/css"> 5</head><body> 6<!-- Generated by Doxygen 1.2.18 --> 7<center> 8<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> 9<hr><h1>osclconfig_proc_unix_common.h File Reference</h1><code>#include <time.h></code><br> 10<code>#include <semaphore.h></code><br> 11<code>#include <pthread.h></code><br> 12<code>#include <errno.h></code><br> 13 14<p> 15<a href="osclconfig__proc__unix__common_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> 16<tr><td></td></tr> 17<tr><td colspan=2><br><h2>Defines</h2></td></tr> 18<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="osclconfig__proc__unix__common_8h.html#a0">OSCL_HAS_SYMBIAN_SCHEDULER</a> 0</td></tr> 19<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="osclconfig__proc__unix__common_8h.html#a1">OSCL_HAS_THREAD_SUPPORT</a> 1</td></tr> 20<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="osclconfig__proc__unix__common_8h.html#a2">OSCL_HAS_NON_PREEMPTIVE_THREAD_SUPPORT</a> 0</td></tr> 21<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="osclconfig__proc__unix__common_8h.html#a3">OSCL_HAS_SEM_TIMEDWAIT_SUPPORT</a> 1</td></tr> 22<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="osclconfig__proc__unix__common_8h.html#a4">OSCL_HAS_PTHREAD_SUPPORT</a> 1</td></tr> 23<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="osclconfig__proc__unix__common_8h.html#a5">OSCL_THREAD_DECL</a></td></tr> 24<tr><td colspan=2><br><h2>Typedefs</h2></td></tr> 25<tr><td nowrap align=right valign=top>typedef pthread_t </td><td valign=bottom><a class="el" href="osclconfig__proc__unix__common_8h.html#a6">TOsclThreadId</a></td></tr> 26<tr><td nowrap align=right valign=top>typedef void * </td><td valign=bottom><a class="el" href="osclconfig__proc__unix__common_8h.html#a7">TOsclThreadFuncArg</a></td></tr> 27<tr><td nowrap align=right valign=top>typedef void * </td><td valign=bottom><a class="el" href="osclconfig__proc__unix__common_8h.html#a8">TOsclThreadFuncRet</a></td></tr> 28<tr><td nowrap align=right valign=top>typedef pthread_t </td><td valign=bottom><a class="el" href="osclconfig__proc__unix__common_8h.html#a9">TOsclThreadObject</a></td></tr> 29<tr><td nowrap align=right valign=top>typedef pthread_mutex_t </td><td valign=bottom><a class="el" href="osclconfig__proc__unix__common_8h.html#a10">TOsclMutexObject</a></td></tr> 30<tr><td nowrap align=right valign=top>typedef sem_t </td><td valign=bottom><a class="el" href="osclconfig__proc__unix__common_8h.html#a11">TOsclSemaphoreObject</a></td></tr> 31<tr><td nowrap align=right valign=top>typedef pthread_cond_t </td><td valign=bottom><a class="el" href="osclconfig__proc__unix__common_8h.html#a12">TOsclConditionObject</a></td></tr> 32</table> 33<hr><h2>Define Documentation</h2> 34<a name="a2" doxytag="osclconfig_proc_unix_common.h::OSCL_HAS_NON_PREEMPTIVE_THREAD_SUPPORT"></a><p> 35<table width="100%" cellpadding="2" cellspacing="0" border="0"> 36 <tr> 37 <td class="md"> 38 <table cellpadding="0" cellspacing="0" border="0"> 39 <tr> 40 <td class="md" nowrap valign="top"> #define OSCL_HAS_NON_PREEMPTIVE_THREAD_SUPPORT 0 41 </table> 42 </td> 43 </tr> 44</table> 45<table cellspacing=5 cellpadding=0 border=0> 46 <tr> 47 <td> 48 49 </td> 50 <td> 51 52<p> 53 </td> 54 </tr> 55</table> 56<a name="a4" doxytag="osclconfig_proc_unix_common.h::OSCL_HAS_PTHREAD_SUPPORT"></a><p> 57<table width="100%" cellpadding="2" cellspacing="0" border="0"> 58 <tr> 59 <td class="md"> 60 <table cellpadding="0" cellspacing="0" border="0"> 61 <tr> 62 <td class="md" nowrap valign="top"> #define OSCL_HAS_PTHREAD_SUPPORT 1 63 </table> 64 </td> 65 </tr> 66</table> 67<table cellspacing=5 cellpadding=0 border=0> 68 <tr> 69 <td> 70 71 </td> 72 <td> 73 74<p> 75 </td> 76 </tr> 77</table> 78<a name="a3" doxytag="osclconfig_proc_unix_common.h::OSCL_HAS_SEM_TIMEDWAIT_SUPPORT"></a><p> 79<table width="100%" cellpadding="2" cellspacing="0" border="0"> 80 <tr> 81 <td class="md"> 82 <table cellpadding="0" cellspacing="0" border="0"> 83 <tr> 84 <td class="md" nowrap valign="top"> #define OSCL_HAS_SEM_TIMEDWAIT_SUPPORT 1 85 </table> 86 </td> 87 </tr> 88</table> 89<table cellspacing=5 cellpadding=0 border=0> 90 <tr> 91 <td> 92 93 </td> 94 <td> 95 96<p> 97 </td> 98 </tr> 99</table> 100<a name="a0" doxytag="osclconfig_proc_unix_common.h::OSCL_HAS_SYMBIAN_SCHEDULER"></a><p> 101<table width="100%" cellpadding="2" cellspacing="0" border="0"> 102 <tr> 103 <td class="md"> 104 <table cellpadding="0" cellspacing="0" border="0"> 105 <tr> 106 <td class="md" nowrap valign="top"> #define OSCL_HAS_SYMBIAN_SCHEDULER 0 107 </table> 108 </td> 109 </tr> 110</table> 111<table cellspacing=5 cellpadding=0 border=0> 112 <tr> 113 <td> 114 115 </td> 116 <td> 117 118<p> 119 </td> 120 </tr> 121</table> 122<a name="a1" doxytag="osclconfig_proc_unix_common.h::OSCL_HAS_THREAD_SUPPORT"></a><p> 123<table width="100%" cellpadding="2" cellspacing="0" border="0"> 124 <tr> 125 <td class="md"> 126 <table cellpadding="0" cellspacing="0" border="0"> 127 <tr> 128 <td class="md" nowrap valign="top"> #define OSCL_HAS_THREAD_SUPPORT 1 129 </table> 130 </td> 131 </tr> 132</table> 133<table cellspacing=5 cellpadding=0 border=0> 134 <tr> 135 <td> 136 137 </td> 138 <td> 139 140<p> 141 </td> 142 </tr> 143</table> 144<a name="a5" doxytag="osclconfig_proc_unix_common.h::OSCL_THREAD_DECL"></a><p> 145<table width="100%" cellpadding="2" cellspacing="0" border="0"> 146 <tr> 147 <td class="md"> 148 <table cellpadding="0" cellspacing="0" border="0"> 149 <tr> 150 <td class="md" nowrap valign="top"> #define OSCL_THREAD_DECL 151 </table> 152 </td> 153 </tr> 154</table> 155<table cellspacing=5 cellpadding=0 border=0> 156 <tr> 157 <td> 158 159 </td> 160 <td> 161 162<p> 163 </td> 164 </tr> 165</table> 166<hr><h2>Typedef Documentation</h2> 167<a name="a12" doxytag="osclconfig_proc_unix_common.h::TOsclConditionObject"></a><p> 168<table width="100%" cellpadding="2" cellspacing="0" border="0"> 169 <tr> 170 <td class="md"> 171 <table cellpadding="0" cellspacing="0" border="0"> 172 <tr> 173 <td class="md" nowrap valign="top"> typedef pthread_cond_t TOsclConditionObject 174 </table> 175 </td> 176 </tr> 177</table> 178<table cellspacing=5 cellpadding=0 border=0> 179 <tr> 180 <td> 181 182 </td> 183 <td> 184 185<p> 186 </td> 187 </tr> 188</table> 189<a name="a10" doxytag="osclconfig_proc_unix_common.h::TOsclMutexObject"></a><p> 190<table width="100%" cellpadding="2" cellspacing="0" border="0"> 191 <tr> 192 <td class="md"> 193 <table cellpadding="0" cellspacing="0" border="0"> 194 <tr> 195 <td class="md" nowrap valign="top"> typedef pthread_mutex_t TOsclMutexObject 196 </table> 197 </td> 198 </tr> 199</table> 200<table cellspacing=5 cellpadding=0 border=0> 201 <tr> 202 <td> 203 204 </td> 205 <td> 206 207<p> 208 </td> 209 </tr> 210</table> 211<a name="a11" doxytag="osclconfig_proc_unix_common.h::TOsclSemaphoreObject"></a><p> 212<table width="100%" cellpadding="2" cellspacing="0" border="0"> 213 <tr> 214 <td class="md"> 215 <table cellpadding="0" cellspacing="0" border="0"> 216 <tr> 217 <td class="md" nowrap valign="top"> typedef sem_t TOsclSemaphoreObject 218 </table> 219 </td> 220 </tr> 221</table> 222<table cellspacing=5 cellpadding=0 border=0> 223 <tr> 224 <td> 225 226 </td> 227 <td> 228 229<p> 230 </td> 231 </tr> 232</table> 233<a name="a7" doxytag="osclconfig_proc_unix_common.h::TOsclThreadFuncArg"></a><p> 234<table width="100%" cellpadding="2" cellspacing="0" border="0"> 235 <tr> 236 <td class="md"> 237 <table cellpadding="0" cellspacing="0" border="0"> 238 <tr> 239 <td class="md" nowrap valign="top"> typedef void* TOsclThreadFuncArg 240 </table> 241 </td> 242 </tr> 243</table> 244<table cellspacing=5 cellpadding=0 border=0> 245 <tr> 246 <td> 247 248 </td> 249 <td> 250 251<p> 252 </td> 253 </tr> 254</table> 255<a name="a8" doxytag="osclconfig_proc_unix_common.h::TOsclThreadFuncRet"></a><p> 256<table width="100%" cellpadding="2" cellspacing="0" border="0"> 257 <tr> 258 <td class="md"> 259 <table cellpadding="0" cellspacing="0" border="0"> 260 <tr> 261 <td class="md" nowrap valign="top"> typedef void* TOsclThreadFuncRet 262 </table> 263 </td> 264 </tr> 265</table> 266<table cellspacing=5 cellpadding=0 border=0> 267 <tr> 268 <td> 269 270 </td> 271 <td> 272 273<p> 274 </td> 275 </tr> 276</table> 277<a name="a6" doxytag="osclconfig_proc_unix_common.h::TOsclThreadId"></a><p> 278<table width="100%" cellpadding="2" cellspacing="0" border="0"> 279 <tr> 280 <td class="md"> 281 <table cellpadding="0" cellspacing="0" border="0"> 282 <tr> 283 <td class="md" nowrap valign="top"> typedef pthread_t TOsclThreadId 284 </table> 285 </td> 286 </tr> 287</table> 288<table cellspacing=5 cellpadding=0 border=0> 289 <tr> 290 <td> 291 292 </td> 293 <td> 294 295<p> 296 </td> 297 </tr> 298</table> 299<a name="a9" doxytag="osclconfig_proc_unix_common.h::TOsclThreadObject"></a><p> 300<table width="100%" cellpadding="2" cellspacing="0" border="0"> 301 <tr> 302 <td class="md"> 303 <table cellpadding="0" cellspacing="0" border="0"> 304 <tr> 305 <td class="md" nowrap valign="top"> typedef pthread_t TOsclThreadObject 306 </table> 307 </td> 308 </tr> 309</table> 310<table cellspacing=5 cellpadding=0 border=0> 311 <tr> 312 <td> 313 314 </td> 315 <td> 316 317<p> 318 </td> 319 </tr> 320</table> 321<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 322<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 323</small></address> 324</body> 325</html> 326