Create a branch for audio work

svn path=/branches/audio-bringup/; revision=49478
This commit is contained in:
Timo Kreuzer 2010-11-05 11:04:48 +00:00
parent 26c20f3857
commit 5eb25b5c24
20759 changed files with 0 additions and 1141005 deletions

View file

@ -0,0 +1,44 @@
#include <precomp.h>
/*
* @unimplemented
*/
uintptr_t CDECL _beginthreadex(
void* security,
unsigned stack_size,
unsigned (__stdcall *start_address)(void*),
void* arglist,
unsigned initflag,
unsigned* thrdaddr)
{
HANDLE NewThread;
/*
* Just call the API function. Any CRT specific processing is done in
* DllMain DLL_THREAD_ATTACH
*/
NewThread = CreateThread ( security, stack_size,
(LPTHREAD_START_ROUTINE)start_address,
arglist, initflag, (PULONG)thrdaddr );
if (NULL == NewThread)
{
_dosmaperr( GetLastError() );
}
return (uintptr_t) NewThread;
}
/*
* @implemented
*/
void CDECL _endthreadex(unsigned retval)
{
/*
* Just call the API function. Any CRT specific processing is done in
* DllMain DLL_THREAD_DETACH
*/
ExitThread(retval);
}
/* EOF */