aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/osclconfig__proc__check_8h.html
blob: ae564360272cc7e294c340fbda96de16f2ba5e6d (plain)
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
<!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"/>
<title>oscl: osclconfig_proc_check.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>osclconfig_proc_check.h File Reference</h1>
<p><a href="osclconfig__proc__check_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#a82cf0793edd624dc416a6db1b916ef45">TOsclThreadId</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="osclconfig__proc__check_8h.html#adc8125a3bc8a68c6d0a7aa5cd693983d">__verify__TOsclThreadId__defined__</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#a6a8ba6877fc9fc6d457fd188ccbc8086">TOsclThreadFuncRet</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="osclconfig__proc__check_8h.html#a399b296d55fde1c60bdf04d118d850a5">__verify__TOsclThreadFuncRet__defined__</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#a79dc72e19d6ed5a3fd5f49a14f0fdb92">TOsclThreadFuncArg</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="osclconfig__proc__check_8h.html#a763dd2889388a8f301faa7bda812d8e5">__verify__TOsclThreadFuncArg__defined__</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#a868f0541091962c9d2756cc2ed1875be">TOsclThreadObject</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="osclconfig__proc__check_8h.html#ab5af15aff2903c587ca4c731c26df9f5">__verify__TOsclThreadObject__defined__</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#ad614b4fd9839f6ad888115bdb9770be5">TOsclMutexObject</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="osclconfig__proc__check_8h.html#add591e21495c782245c0206992d47b2c">__verify__TOsclMutexObject__defined__</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#ac443146018305a7b60b97d042ea326ff">TOsclSemaphoreObject</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="osclconfig__proc__check_8h.html#a52bc95a1a438f1c1e9596c422b0399e4">__verify__TOsclSemaphoreObject__defined__</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#af87c672d3e1f8e65c95240b4efb69fa8">TOsclConditionObject</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="osclconfig__proc__check_8h.html#afa4185b766316682a63c06632847e4db">__verify__TOsclConditionObject__defined__</a></td></tr>
</table>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="afa4185b766316682a63c06632847e4db"></a><!-- doxytag: member="osclconfig_proc_check.h::__verify__TOsclConditionObject__defined__" ref="afa4185b766316682a63c06632847e4db" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#af87c672d3e1f8e65c95240b4efb69fa8">TOsclConditionObject</a> <a class="el" href="osclconfig__proc__check_8h.html#afa4185b766316682a63c06632847e4db">__verify__TOsclConditionObject__defined__</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>type TOsclConditionObject should be defined as the type used as a condition variable on the target platform. Example: typedef pthread_cond_t TOsclConditionObject;</p>
<p>Note: Condition variables are only used with certain semaphore implementations. If the semaphore implementation does not require a condition variable, then this type can be defined as 'int' as follows: typedef int TOsclConditionObject; //not used </p>

</div>
</div>
<a class="anchor" id="add591e21495c782245c0206992d47b2c"></a><!-- doxytag: member="osclconfig_proc_check.h::__verify__TOsclMutexObject__defined__" ref="add591e21495c782245c0206992d47b2c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#ad614b4fd9839f6ad888115bdb9770be5">TOsclMutexObject</a> <a class="el" href="osclconfig__proc__check_8h.html#add591e21495c782245c0206992d47b2c">__verify__TOsclMutexObject__defined__</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>type TOsclMutexObject should be defined as the type used as a mutex object or handle on the target platform. Example: typedef pthread_mutex_t TOsclMutexObject; </p>

</div>
</div>
<a class="anchor" id="a52bc95a1a438f1c1e9596c422b0399e4"></a><!-- doxytag: member="osclconfig_proc_check.h::__verify__TOsclSemaphoreObject__defined__" ref="a52bc95a1a438f1c1e9596c422b0399e4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#ac443146018305a7b60b97d042ea326ff">TOsclSemaphoreObject</a> <a class="el" href="osclconfig__proc__check_8h.html#a52bc95a1a438f1c1e9596c422b0399e4">__verify__TOsclSemaphoreObject__defined__</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>type TOsclSemaphoreObject should be defined as the type used as a mutex object or handle on the target platform. Example: typedef sem_t TOsclSemaphoreObject; </p>

</div>
</div>
<a class="anchor" id="a763dd2889388a8f301faa7bda812d8e5"></a><!-- doxytag: member="osclconfig_proc_check.h::__verify__TOsclThreadFuncArg__defined__" ref="a763dd2889388a8f301faa7bda812d8e5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#a79dc72e19d6ed5a3fd5f49a14f0fdb92">TOsclThreadFuncArg</a> <a class="el" href="osclconfig__proc__check_8h.html#a763dd2889388a8f301faa7bda812d8e5">__verify__TOsclThreadFuncArg__defined__</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>type TOsclThreadFuncArg should be defined as the type used as a thread function argument on the target platform. Example: typedef LPVOID TOsclThreadFuncArg; </p>

</div>
</div>
<a class="anchor" id="a399b296d55fde1c60bdf04d118d850a5"></a><!-- doxytag: member="osclconfig_proc_check.h::__verify__TOsclThreadFuncRet__defined__" ref="a399b296d55fde1c60bdf04d118d850a5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#a6a8ba6877fc9fc6d457fd188ccbc8086">TOsclThreadFuncRet</a> <a class="el" href="osclconfig__proc__check_8h.html#a399b296d55fde1c60bdf04d118d850a5">__verify__TOsclThreadFuncRet__defined__</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>type TOsclThreadFuncRet should be defined as the type used as a thread function return value on the target platform. Example: typedef DWORD TOsclThreadFuncRet; </p>

</div>
</div>
<a class="anchor" id="adc8125a3bc8a68c6d0a7aa5cd693983d"></a><!-- doxytag: member="osclconfig_proc_check.h::__verify__TOsclThreadId__defined__" ref="adc8125a3bc8a68c6d0a7aa5cd693983d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#a82cf0793edd624dc416a6db1b916ef45">TOsclThreadId</a> <a class="el" href="osclconfig__proc__check_8h.html#adc8125a3bc8a68c6d0a7aa5cd693983d">__verify__TOsclThreadId__defined__</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>OSCL_HAS_THREAD_SUPPORT macro should be set to 1 if the target platform supports threads. Otherwise it should be set to 0. OSCL_HAS_NON_PREEMPTIVE_THREAD_SUPPORT macro should be set to 1 if the target platform supports non-pre-emptive threads. Otherwise it should be set to 0. OSCL_HAS_SYMBIAN_SCHEDULER macro should be set to 1 if the target platform supports Symbian active object scheduler. Otherwise it should be set to 0. OSCL_HAS_SEM_TIMEDWAIT_SUPPORT macro should be set to 1 if the target platform supports POSIX-compliant semaphores (semaphore.h) with advanced realtime features including sem_timedwait. Otherwise it should be set to 0. OSCL_HAS_PTHREAD_SUPPORT macro should be set to 1 if the target platform supports POSIX-compliand pthreads (pthread.h). Otherwise it should be set to 0. type TOsclThreadId should be defined as the type used as a thread ID on the target platform. Example: typedef DWORD TOsclThreadId; </p>

</div>
</div>
<a class="anchor" id="ab5af15aff2903c587ca4c731c26df9f5"></a><!-- doxytag: member="osclconfig_proc_check.h::__verify__TOsclThreadObject__defined__" ref="ab5af15aff2903c587ca4c731c26df9f5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="osclconfig__proc__unix__android_8h.html#a868f0541091962c9d2756cc2ed1875be">TOsclThreadObject</a> <a class="el" href="osclconfig__proc__check_8h.html#ab5af15aff2903c587ca4c731c26df9f5">__verify__TOsclThreadObject__defined__</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>OSCL_THREAD_DECL macro should be defined to the necessary function declaration modifiers for thread routines, or a null macro if no modifiers are needed. Example: define OSCL_THREAD_DECL WINAPI Example of a declaration of a thread routine called MyThreadMain using the Oscl definitions:</p>
<p>static TOsclThreadFuncRet OSCL_THREAD_DECL MyThreadMain(TOsclThreadFuncArg arg); type TOsclThreadObject should be defined as the type used as a thread object or handle on the target platform. Example: typedef pthread_t TOsclThreadObject; </p>

</div>
</div>
</div>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: CORE_9.005.1.1 </small>
</small></address>
</body>
</html>