Commit eff57ac9 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Rename scheduler.c file to concurrency.c.

parent 6c4cddc4
......@@ -7,6 +7,7 @@ PARENTSRC = ../msvcrt
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
concurrency.c \
console.c \
cpp.c \
ctype.c \
......@@ -33,7 +34,6 @@ C_SRCS = \
onexit.c \
process.c \
scanf.c \
scheduler.c \
sincos.c \
string.c \
thread.c \
......
......@@ -7,6 +7,7 @@ PARENTSRC = ../msvcrt
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
concurrency.c \
console.c \
cpp.c \
ctype.c \
......@@ -33,7 +34,6 @@ C_SRCS = \
onexit.c \
process.c \
scanf.c \
scheduler.c \
sincos.c \
string.c \
thread.c \
......
......@@ -7,6 +7,7 @@ PARENTSRC = ../msvcrt
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
concurrency.c \
console.c \
cpp.c \
ctype.c \
......@@ -33,7 +34,6 @@ C_SRCS = \
onexit.c \
process.c \
scanf.c \
scheduler.c \
sincos.c \
string.c \
thread.c \
......
......@@ -6,6 +6,7 @@ DELAYIMPORTS = advapi32 user32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
concurrency.c \
console.c \
cpp.c \
crt_gccmain.c \
......@@ -37,7 +38,6 @@ C_SRCS = \
onexit.c \
process.c \
scanf.c \
scheduler.c \
sincos.c \
string.c \
thread.c \
......
/*
* msvcrt.dll C++ objects
* Concurrency namespace implementation
*
* Copyright 2017 Piotr Caban
*
......@@ -1136,7 +1136,7 @@ __ASM_BLOCK_BEGIN(scheduler_vtables)
);
__ASM_BLOCK_END
void msvcrt_init_scheduler(void *base)
void msvcrt_init_concurrency(void *base)
{
#ifdef __x86_64__
init_Context_rtti(base);
......@@ -1148,7 +1148,7 @@ void msvcrt_init_scheduler(void *base)
#endif
}
void msvcrt_free_scheduler(void)
void msvcrt_free_concurrency(void)
{
if (context_tls_index != TLS_OUT_OF_INDEXES)
TlsFree(context_tls_index);
......
......@@ -116,7 +116,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
msvcrt_init_args();
msvcrt_init_signals();
#if _MSVCR_VER >= 100 && _MSVCR_VER <= 120
msvcrt_init_scheduler(hinstDLL);
msvcrt_init_concurrency(hinstDLL);
#endif
#if _MSVCR_VER == 0
/* don't allow unloading msvcrt, we can't setup file handles twice */
......@@ -143,7 +143,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
_free_locale(MSVCRT_locale);
#if _MSVCR_VER >= 100 && _MSVCR_VER <= 120
msvcrt_free_scheduler_thread();
msvcrt_free_scheduler();
msvcrt_free_concurrency();
#endif
msvcrt_destroy_heap();
TRACE("finished process free\n");
......
......@@ -245,8 +245,8 @@ extern void msvcrt_destroy_heap(void) DECLSPEC_HIDDEN;
extern void msvcrt_init_clock(void) DECLSPEC_HIDDEN;
#if _MSVCR_VER >= 100
extern void msvcrt_init_scheduler(void*) DECLSPEC_HIDDEN;
extern void msvcrt_free_scheduler(void) DECLSPEC_HIDDEN;
extern void msvcrt_init_concurrency(void*) DECLSPEC_HIDDEN;
extern void msvcrt_free_concurrency(void) DECLSPEC_HIDDEN;
extern void msvcrt_free_scheduler_thread(void) DECLSPEC_HIDDEN;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment