Changeset 34256 in vbox for trunk/src/VBox/Runtime/include
- Timestamp:
- Nov 22, 2010 3:55:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/thread.h
r33540 r34256 159 159 160 160 /** 161 * Called from rtThreadDestroy so that the TLS entry and any native data in the 162 * thread structure can be cleared. 163 * 164 * @param pThread The thread structure. 165 */ 166 void rtThreadNativeDestroy(PRTTHREADINT pThread); 167 168 /** 161 169 * Sets the priority of the thread according to the thread type 162 170 * and current process priority. … … 186 194 187 195 /* thread.cpp */ 188 int rtThreadMain(PRTTHREADINT pThread, RTNATIVETHREAD NativeThread, const char *pszThreadName);189 void rtThreadBlocking(PRTTHREADINT pThread, RTTHREADSTATE enmState, uint64_t u64Block,190 const char *pszFile, unsigned uLine, RTUINTPTR uId);191 void rtThreadUnblocked(PRTTHREADINT pThread, RTTHREADSTATE enmCurState);192 uint32_t rtThreadRelease(PRTTHREADINT pThread);193 void rtThreadTerminate(PRTTHREADINT pThread, int rc);196 int rtThreadMain(PRTTHREADINT pThread, RTNATIVETHREAD NativeThread, const char *pszThreadName); 197 void rtThreadBlocking(PRTTHREADINT pThread, RTTHREADSTATE enmState, uint64_t u64Block, 198 const char *pszFile, unsigned uLine, RTUINTPTR uId); 199 void rtThreadUnblocked(PRTTHREADINT pThread, RTTHREADSTATE enmCurState); 200 uint32_t rtThreadRelease(PRTTHREADINT pThread); 201 void rtThreadTerminate(PRTTHREADINT pThread, int rc); 194 202 PRTTHREADINT rtThreadGetByNative(RTNATIVETHREAD NativeThread); 195 203 PRTTHREADINT rtThreadGet(RTTHREAD Thread); 196 int rtThreadInit(void);197 void rtThreadTerm(void);198 void rtThreadInsert(PRTTHREADINT pThread, RTNATIVETHREAD NativeThread);199 #ifdef IN_RING3 200 int rtThreadDoSetProcPriority(RTPROCPRIORITY enmPriority);204 int rtThreadInit(void); 205 void rtThreadTerm(void); 206 void rtThreadInsert(PRTTHREADINT pThread, RTNATIVETHREAD NativeThread); 207 #ifdef IN_RING3 208 int rtThreadDoSetProcPriority(RTPROCPRIORITY enmPriority); 201 209 #endif /* !IN_RING0 */ 202 210 #ifdef IPRT_WITH_GENERIC_TLS 203 void rtThreadClearTlsEntry(RTTLS iTls);204 void rtThreadTlsDestruction(PRTTHREADINT pThread); /* in tls-generic.cpp */211 void rtThreadClearTlsEntry(RTTLS iTls); 212 void rtThreadTlsDestruction(PRTTHREADINT pThread); /* in tls-generic.cpp */ 205 213 #endif 206 214
Note:
See TracChangeset
for help on using the changeset viewer.