msvcrt: Add Context class static functions stubs.
[wine.git] / dlls / msvcrt / scheduler.c
blob4c6485907e6fde059c31425c70520632ab1bf99c
1 /*
2 * msvcrt.dll C++ objects
4 * Copyright 2017 Piotr Caban
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "windef.h"
24 #include "winternl.h"
25 #include "wine/debug.h"
26 #include "msvcrt.h"
27 #include "cppexcept.h"
28 #include "cxx.h"
30 #if _MSVCR_VER >= 100
32 WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
34 typedef struct {
35 const vtable_ptr *vtable;
36 } Context;
38 /* ?CurrentContext@Context@Concurrency@@SAPAV12@XZ */
39 /* ?CurrentContext@Context@Concurrency@@SAPEAV12@XZ */
40 Context* __cdecl Context_CurrentContext(void)
42 FIXME("()\n");
43 return NULL;
46 /* ?Id@Context@Concurrency@@SAIXZ */
47 unsigned int __cdecl Context_Id(void)
49 FIXME("()\n");
50 return -1;
53 /* ?Block@Context@Concurrency@@SAXXZ */
54 void __cdecl Context_Block(void)
56 FIXME("()\n");
59 /* ?Yield@Context@Concurrency@@SAXXZ */
60 void __cdecl Context_Yield(void)
62 FIXME("()\n");
65 /* ?_SpinYield@Context@Concurrency@@SAXXZ */
66 void __cdecl Context__SpinYield(void)
68 FIXME("()\n");
71 /* ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ */
72 MSVCRT_bool __cdecl Context_IsCurrentTaskCollectionCanceling(void)
74 FIXME("()\n");
75 return FALSE;
78 /* ?Oversubscribe@Context@Concurrency@@SAX_N@Z */
79 void __cdecl Context_Oversubscribe(MSVCRT_bool begin)
81 FIXME("(%x)\n", begin);
84 /* ?ScheduleGroupId@Context@Concurrency@@SAIXZ */
85 unsigned int __cdecl Context_ScheduleGroupId(void)
87 FIXME("()\n");
88 return -1;
91 /* ?VirtualProcessorId@Context@Concurrency@@SAIXZ */
92 unsigned int __cdecl Context_VirtualProcessorId(void)
94 FIXME("()\n");
95 return -1;
98 #endif /* _MSVCR_VER >= 100 */