mirror of
				https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
				synced 2025-10-30 18:17:50 +00:00 
			
		
		
		
	[SF 2445467] Bug in Thread_WIN32.cpp
This commit is contained in:
		| @@ -117,7 +117,7 @@ void ThreadImpl::createImpl(Entry ent, void* pData) | |||||||
| 	_thread = CreateThread(NULL, _stackSize, ent, pData, 0, &threadId); | 	_thread = CreateThread(NULL, _stackSize, ent, pData, 0, &threadId); | ||||||
| #else | #else | ||||||
| 	unsigned threadId; | 	unsigned threadId; | ||||||
| 	_thread = (HANDLE) _beginthreadex(NULL, _stackSize, runnableEntry, this, 0, &threadId); | 	_thread = (HANDLE) _beginthreadex(NULL, _stackSize, ent, this, 0, &threadId); | ||||||
| #endif | #endif | ||||||
| 	if (!_thread) | 	if (!_thread) | ||||||
| 		throw SystemException("cannot create thread"); | 		throw SystemException("cannot create thread"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aleksandar Fabijanic
					Aleksandar Fabijanic