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>PVThreadContext class 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>PVThreadContext Class Reference<br> 10 <small> 11 [<a class="el" href="group__osclproc.html">OSCL Proc</a>]</small> 12 </h1><code>#include <<a class="el" href="oscl__scheduler__threadcontext_8h-source.html">oscl_scheduler_threadcontext.h</a>></code> 13 <p> 14 <table border=0 cellpadding=0 cellspacing=0> 15 <tr><td></td></tr> 16 <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> 17 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF </td><td valign=bottom><a class="el" href="classPVThreadContext.html#a0">PVThreadContext</a> ()</td></tr> 18 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF </td><td valign=bottom><a class="el" href="classPVThreadContext.html#a1">~PVThreadContext</a> ()</td></tr> 19 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="classPVThreadContext.html#a2">IsSameThreadContext</a> ()</td></tr> 20 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF void </td><td valign=bottom><a class="el" href="classPVThreadContext.html#a3">EnterThreadContext</a> ()</td></tr> 21 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF void </td><td valign=bottom><a class="el" href="classPVThreadContext.html#a4">ExitThreadContext</a> ()</td></tr> 22 <tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> 23 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF uint32 </td><td valign=bottom><a class="el" href="classPVThreadContext.html#d0">Id</a> ()</td></tr> 24 <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="classPVThreadContext.html#d1">ThreadHasScheduler</a> ()</td></tr> 25 <tr><td colspan=2><br><h2>Friends</h2></td></tr> 26 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classPVThreadContext.html#l0">PVActiveBase</a></td></tr> 27 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classPVThreadContext.html#l1">OsclActiveObject</a></td></tr> 28 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classPVThreadContext.html#l2">OsclTimerObject</a></td></tr> 29 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classPVThreadContext.html#l3">OsclExecScheduler</a></td></tr> 30 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classPVThreadContext.html#l4">OsclCoeActiveScheduler</a></td></tr> 31 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classPVThreadContext.html#l5">OsclExecSchedulerCommonBase</a></td></tr> 32 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classPVThreadContext.html#l6">OsclExecSchedulerBase</a></td></tr> 33 <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classPVThreadContext.html#l7">OsclCoeActiveSchedulerBase</a></td></tr> 34 </table> 35 <hr><h2>Constructor & Destructor Documentation</h2> 36 <a name="a0" doxytag="PVThreadContext::PVThreadContext"></a><p> 37 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 38 <tr> 39 <td class="md"> 40 <table cellpadding="0" cellspacing="0" border="0"> 41 <tr> 42 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF PVThreadContext::PVThreadContext </td> 43 <td class="md" valign="top">( </td> 44 <td class="mdname1" valign="top" nowrap> </td> 45 <td class="md" valign="top">) </td> 46 <td class="md" nowrap></td> 47 </tr> 48 49 </table> 50 </td> 51 </tr> 52 </table> 53 <table cellspacing=5 cellpadding=0 border=0> 54 <tr> 55 <td> 56 57 </td> 58 <td> 59 60 <p> 61 </td> 62 </tr> 63 </table> 64 <a name="a1" doxytag="PVThreadContext::~PVThreadContext"></a><p> 65 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 66 <tr> 67 <td class="md"> 68 <table cellpadding="0" cellspacing="0" border="0"> 69 <tr> 70 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF PVThreadContext::~PVThreadContext </td> 71 <td class="md" valign="top">( </td> 72 <td class="mdname1" valign="top" nowrap> </td> 73 <td class="md" valign="top">) </td> 74 <td class="md" nowrap></td> 75 </tr> 76 77 </table> 78 </td> 79 </tr> 80 </table> 81 <table cellspacing=5 cellpadding=0 border=0> 82 <tr> 83 <td> 84 85 </td> 86 <td> 87 88 <p> 89 </td> 90 </tr> 91 </table> 92 <hr><h2>Member Function Documentation</h2> 93 <a name="a3" doxytag="PVThreadContext::EnterThreadContext"></a><p> 94 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 95 <tr> 96 <td class="md"> 97 <table cellpadding="0" cellspacing="0" border="0"> 98 <tr> 99 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF void PVThreadContext::EnterThreadContext </td> 100 <td class="md" valign="top">( </td> 101 <td class="mdname1" valign="top" nowrap> </td> 102 <td class="md" valign="top">) </td> 103 <td class="md" nowrap></td> 104 </tr> 105 106 </table> 107 </td> 108 </tr> 109 </table> 110 <table cellspacing=5 cellpadding=0 border=0> 111 <tr> 112 <td> 113 114 </td> 115 <td> 116 117 <p> 118 enter and exit thread context. </td> 119 </tr> 120 </table> 121 <a name="a4" doxytag="PVThreadContext::ExitThreadContext"></a><p> 122 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 123 <tr> 124 <td class="md"> 125 <table cellpadding="0" cellspacing="0" border="0"> 126 <tr> 127 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF void PVThreadContext::ExitThreadContext </td> 128 <td class="md" valign="top">( </td> 129 <td class="mdname1" valign="top" nowrap> </td> 130 <td class="md" valign="top">) </td> 131 <td class="md" nowrap></td> 132 </tr> 133 134 </table> 135 </td> 136 </tr> 137 </table> 138 <table cellspacing=5 cellpadding=0 border=0> 139 <tr> 140 <td> 141 142 </td> 143 <td> 144 145 <p> 146 </td> 147 </tr> 148 </table> 149 <a name="d0" doxytag="PVThreadContext::Id"></a><p> 150 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 151 <tr> 152 <td class="md"> 153 <table cellpadding="0" cellspacing="0" border="0"> 154 <tr> 155 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF uint32 PVThreadContext::Id </td> 156 <td class="md" valign="top">( </td> 157 <td class="mdname1" valign="top" nowrap> </td> 158 <td class="md" valign="top">) </td> 159 <td class="md" nowrap><code> [static]</code></td> 160 </tr> 161 162 </table> 163 </td> 164 </tr> 165 </table> 166 <table cellspacing=5 cellpadding=0 border=0> 167 <tr> 168 <td> 169 170 </td> 171 <td> 172 173 <p> 174 static routine to get a unique thread ID for caller's thread context. </td> 175 </tr> 176 </table> 177 <a name="a2" doxytag="PVThreadContext::IsSameThreadContext"></a><p> 178 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 179 <tr> 180 <td class="md"> 181 <table cellpadding="0" cellspacing="0" border="0"> 182 <tr> 183 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF bool PVThreadContext::IsSameThreadContext </td> 184 <td class="md" valign="top">( </td> 185 <td class="mdname1" valign="top" nowrap> </td> 186 <td class="md" valign="top">) </td> 187 <td class="md" nowrap></td> 188 </tr> 189 190 </table> 191 </td> 192 </tr> 193 </table> 194 <table cellspacing=5 cellpadding=0 border=0> 195 <tr> 196 <td> 197 198 </td> 199 <td> 200 201 <p> 202 compare caller's thread context to this one. </td> 203 </tr> 204 </table> 205 <a name="d1" doxytag="PVThreadContext::ThreadHasScheduler"></a><p> 206 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 207 <tr> 208 <td class="md"> 209 <table cellpadding="0" cellspacing="0" border="0"> 210 <tr> 211 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF bool PVThreadContext::ThreadHasScheduler </td> 212 <td class="md" valign="top">( </td> 213 <td class="mdname1" valign="top" nowrap> </td> 214 <td class="md" valign="top">) </td> 215 <td class="md" nowrap><code> [static]</code></td> 216 </tr> 217 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 a static utility to tell whether the calling thread has any scheduler-- either Oscl scheduler or native scheduler. </td> 231 </tr> 232 </table> 233 <hr><h2>Friends And Related Function Documentation</h2> 234 <a name="l1" doxytag="PVThreadContext::OsclActiveObject"></a><p> 235 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 236 <tr> 237 <td class="md"> 238 <table cellpadding="0" cellspacing="0" border="0"> 239 <tr> 240 <td class="md" nowrap valign="top"> friend class OsclActiveObject<code> [friend]</code> 241 </table> 242 </td> 243 </tr> 244 </table> 245 <table cellspacing=5 cellpadding=0 border=0> 246 <tr> 247 <td> 248 249 </td> 250 <td> 251 252 <p> 253 </td> 254 </tr> 255 </table> 256 <a name="l4" doxytag="PVThreadContext::OsclCoeActiveScheduler"></a><p> 257 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 258 <tr> 259 <td class="md"> 260 <table cellpadding="0" cellspacing="0" border="0"> 261 <tr> 262 <td class="md" nowrap valign="top"> friend class OsclCoeActiveScheduler<code> [friend]</code> 263 </table> 264 </td> 265 </tr> 266 </table> 267 <table cellspacing=5 cellpadding=0 border=0> 268 <tr> 269 <td> 270 271 </td> 272 <td> 273 274 <p> 275 </td> 276 </tr> 277 </table> 278 <a name="l7" doxytag="PVThreadContext::OsclCoeActiveSchedulerBase"></a><p> 279 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 280 <tr> 281 <td class="md"> 282 <table cellpadding="0" cellspacing="0" border="0"> 283 <tr> 284 <td class="md" nowrap valign="top"> friend class OsclCoeActiveSchedulerBase<code> [friend]</code> 285 </table> 286 </td> 287 </tr> 288 </table> 289 <table cellspacing=5 cellpadding=0 border=0> 290 <tr> 291 <td> 292 293 </td> 294 <td> 295 296 <p> 297 </td> 298 </tr> 299 </table> 300 <a name="l3" doxytag="PVThreadContext::OsclExecScheduler"></a><p> 301 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 302 <tr> 303 <td class="md"> 304 <table cellpadding="0" cellspacing="0" border="0"> 305 <tr> 306 <td class="md" nowrap valign="top"> friend class OsclExecScheduler<code> [friend]</code> 307 </table> 308 </td> 309 </tr> 310 </table> 311 <table cellspacing=5 cellpadding=0 border=0> 312 <tr> 313 <td> 314 315 </td> 316 <td> 317 318 <p> 319 </td> 320 </tr> 321 </table> 322 <a name="l6" doxytag="PVThreadContext::OsclExecSchedulerBase"></a><p> 323 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 324 <tr> 325 <td class="md"> 326 <table cellpadding="0" cellspacing="0" border="0"> 327 <tr> 328 <td class="md" nowrap valign="top"> friend class OsclExecSchedulerBase<code> [friend]</code> 329 </table> 330 </td> 331 </tr> 332 </table> 333 <table cellspacing=5 cellpadding=0 border=0> 334 <tr> 335 <td> 336 337 </td> 338 <td> 339 340 <p> 341 </td> 342 </tr> 343 </table> 344 <a name="l5" doxytag="PVThreadContext::OsclExecSchedulerCommonBase"></a><p> 345 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 346 <tr> 347 <td class="md"> 348 <table cellpadding="0" cellspacing="0" border="0"> 349 <tr> 350 <td class="md" nowrap valign="top"> friend class OsclExecSchedulerCommonBase<code> [friend]</code> 351 </table> 352 </td> 353 </tr> 354 </table> 355 <table cellspacing=5 cellpadding=0 border=0> 356 <tr> 357 <td> 358 359 </td> 360 <td> 361 362 <p> 363 </td> 364 </tr> 365 </table> 366 <a name="l2" doxytag="PVThreadContext::OsclTimerObject"></a><p> 367 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 368 <tr> 369 <td class="md"> 370 <table cellpadding="0" cellspacing="0" border="0"> 371 <tr> 372 <td class="md" nowrap valign="top"> friend class OsclTimerObject<code> [friend]</code> 373 </table> 374 </td> 375 </tr> 376 </table> 377 <table cellspacing=5 cellpadding=0 border=0> 378 <tr> 379 <td> 380 381 </td> 382 <td> 383 384 <p> 385 </td> 386 </tr> 387 </table> 388 <a name="l0" doxytag="PVThreadContext::PVActiveBase"></a><p> 389 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 390 <tr> 391 <td class="md"> 392 <table cellpadding="0" cellspacing="0" border="0"> 393 <tr> 394 <td class="md" nowrap valign="top"> friend class PVActiveBase<code> [friend]</code> 395 </table> 396 </td> 397 </tr> 398 </table> 399 <table cellspacing=5 cellpadding=0 border=0> 400 <tr> 401 <td> 402 403 </td> 404 <td> 405 406 <p> 407 </td> 408 </tr> 409 </table> 410 <hr>The documentation for this class was generated from the following file:<ul> 411 <li><a class="el" href="oscl__scheduler__threadcontext_8h-source.html">oscl_scheduler_threadcontext.h</a></ul> 412 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 413 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 414 </small></address> 415 </body> 416 </html> 417