git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for HEAD-2003091401
[reactos.git]
/
lib
/
msvcrt
/
process
/
threadx.c
diff --git
a/lib/msvcrt/process/threadx.c
b/lib/msvcrt/process/threadx.c
index
3d92997
..
a4c5281
100644
(file)
--- a/
lib/msvcrt/process/threadx.c
+++ b/
lib/msvcrt/process/threadx.c
@@
-6,6
+6,9
@@
#include <msvcrt/process.h>
#include <msvcrt/process.h>
+/*
+ * @unimplemented
+ */
unsigned long _beginthreadex(
void* security,
unsigned stack_size,
unsigned long _beginthreadex(
void* security,
unsigned stack_size,
@@
-20,17
+23,22
@@
unsigned long _beginthreadex(
* Just call the API function. Any CRT specific processing is done in
* DllMain DLL_THREAD_ATTACH
*/
* Just call the API function. Any CRT specific processing is done in
* DllMain DLL_THREAD_ATTACH
*/
- NewThread = CreateThread(security, stack_size, start_address, arglist, initflag, thrdaddr);
+ NewThread = CreateThread ( security, stack_size,
+ (LPTHREAD_START_ROUTINE)start_address,
+ arglist, initflag, (PULONG)thrdaddr );
if (NULL == NewThread)
{
/* FIXME map GetLastError() to errno */
if (NULL == NewThread)
{
/* FIXME map GetLastError() to errno */
-
errno = ENOSYS
;
+
__set_errno ( ENOSYS )
;
}
return (unsigned long) NewThread;
}
}
return (unsigned long) NewThread;
}
+/*
+ * @implemented
+ */
void _endthreadex(unsigned retval)
{
/*
void _endthreadex(unsigned retval)
{
/*