Changeset 4777 for pjproject/branches/projects/winphone/third_party/threademulation/include/ThreadEmulation.h
- Timestamp:
- Mar 5, 2014 6:48:59 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/winphone/third_party/threademulation/include/ThreadEmulation.h
r4618 r4777 34 34 35 35 #ifdef __cplusplus 36 namespace ThreadEmulation 37 { 38 extern "C" { 36 //namespace ThreadEmulation 37 //{ 38 extern "C" 39 { 39 40 #endif 40 41 #ifndef CREATE_SUSPENDED … … 42 43 #endif 43 44 44 HANDLE WINAPI CreateThread(_In_opt_ LPSECURITY_ATTRIBUTES unusedThreadAttributes, _In_ SIZE_T unusedStackSize, _In_ LPTHREAD_START_ROUTINE lpStartAddress, _In_opt_ LPVOID lpParameter, _In_ DWORD dwCreationFlags, _Out_opt_ LPDWORD unusedThreadId); 45 HANDLE WINAPI CreateThreadRT(_In_opt_ LPSECURITY_ATTRIBUTES unusedThreadAttributes, _In_ SIZE_T unusedStackSize, _In_ LPTHREAD_START_ROUTINE lpStartAddress, _In_opt_ LPVOID lpParameter, _In_ DWORD dwCreationFlags, _Out_opt_ LPDWORD unusedThreadId); 46 DWORD WINAPI ResumeThreadRT(_In_ HANDLE hThread); 47 BOOL WINAPI SetThreadPriorityRT(_In_ HANDLE hThread, _In_ int nPriority); 48 49 VOID WINAPI SleepRT(_In_ DWORD dwMilliseconds); 45 50 46 DWORD WINAPI ResumeThread(_In_ HANDLE hThread); 47 BOOL WINAPI SetThreadPriority(_In_ HANDLE hThread, _In_ int nPriority); 48 49 VOID WINAPI Sleep(_In_ DWORD dwMilliseconds); 50 51 DWORD WINAPI TlsAlloc(); 52 BOOL WINAPI TlsFree(_In_ DWORD dwTlsIndex); 53 LPVOID WINAPI TlsGetValue(_In_ DWORD dwTlsIndex); 54 BOOL WINAPI TlsSetValue(_In_ DWORD dwTlsIndex, _In_opt_ LPVOID lpTlsValue); 51 DWORD WINAPI TlsAllocRT(); 52 BOOL WINAPI TlsFreeRT(_In_ DWORD dwTlsIndex); 53 LPVOID WINAPI TlsGetValueRT(_In_ DWORD dwTlsIndex); 54 BOOL WINAPI TlsSetValueRT(_In_ DWORD dwTlsIndex, _In_opt_ LPVOID lpTlsValue); 55 55 56 56 void WINAPI TlsShutdown(); 57 58 57 #ifdef __cplusplus 59 58 } 60 }61 59 #endif
Note: See TracChangeset
for help on using the changeset viewer.