Revision 6479c731
configurations/HelloWorld/modules/HelloWorld_urtwareconf.h | ||
---|---|---|
49 | 49 |
#define URT_CFG_DEBUG_ENABLED true |
50 | 50 |
|
51 | 51 |
/** |
52 |
* @brief Timeout flag. |
|
53 |
*/ |
|
54 |
#define URT_CFG_OSAL_CONDVAR_TIMEOUT true |
|
55 |
|
|
56 |
/** |
|
57 | 52 |
* @brief Enable flag for the publish-subscribe system. |
58 | 53 |
*/ |
59 | 54 |
//#define URT_CFG_PUBSUB_ENABLED true |
middleware/apps_urtosal.c | ||
---|---|---|
137 | 137 |
/* pointer to the parent thread */ chThdGetSelfX(), |
138 | 138 |
}; |
139 | 139 |
|
140 |
return chThdCreateSuspended(&descriptor); |
|
140 |
urtPrintf("Test before chThdCreateSuspended in threadInit\n"); |
|
141 |
urtThreadMSleep(10); |
|
142 |
|
|
143 |
urt_osThread_t* temp= chThdCreateSuspended(&descriptor); |
|
144 |
|
|
145 |
urtPrintf("Test after chThdCreateSuspended in threadInit\n"); |
|
146 |
urtThreadMSleep(10); |
|
147 |
|
|
148 |
return temp; |
|
141 | 149 |
} |
142 | 150 |
|
143 | 151 |
void urtThreadTerminate(urt_osThread_t* thread, urt_osThreadTerminateSignal_t sig) |
... | ... | |
157 | 165 |
} |
158 | 166 |
} |
159 | 167 |
|
160 |
bool urtThreadShouldTerminate(void) |
|
161 |
{ |
|
162 |
return true; |
|
163 |
} |
|
164 |
|
|
165 | 168 |
urt_osThreadState_t urtThreadGetState(urt_osThread_t* thread) |
166 | 169 |
{ |
167 | 170 |
aosDbgCheck(thread != NULL); |
middleware/uRtWare | ||
---|---|---|
1 |
Subproject commit 408b49ced4cef056194315f3d612d1fd339bcccc |
|
1 |
Subproject commit 6882b76ce8acc0f026b66edc41e69691b269dae1 |
Also available in: Unified diff