msvcrt: Add Context class static functions stubs.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2017-03-23 11:40:58 +01:00 committed by Alexandre Julliard
parent 82509d7c15
commit e70265feb6
10 changed files with 152 additions and 50 deletions

View File

@ -219,7 +219,7 @@
# extern ?AgentEventGuid@Concurrency@@3U_GUID@@B # extern ?AgentEventGuid@Concurrency@@3U_GUID@@B
@ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) msvcr120.?Alloc@Concurrency@@YAPAXI@Z @ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) msvcr120.?Alloc@Concurrency@@YAPAXI@Z
@ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) msvcr120.?Alloc@Concurrency@@YAPEAX_K@Z @ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) msvcr120.?Alloc@Concurrency@@YAPEAX_K@Z
@ stub ?Block@Context@Concurrency@@SAXXZ @ cdecl ?Block@Context@Concurrency@@SAXXZ() msvcr120.?Block@Context@Concurrency@@SAXXZ
# extern ?ChoreEventGuid@Concurrency@@3U_GUID@@B # extern ?ChoreEventGuid@Concurrency@@3U_GUID@@B
# extern ?ConcRTEventGuid@Concurrency@@3U_GUID@@B # extern ?ConcRTEventGuid@Concurrency@@3U_GUID@@B
# extern ?ConcRT_ProviderGuid@Concurrency@@3U_GUID@@B # extern ?ConcRT_ProviderGuid@Concurrency@@3U_GUID@@B
@ -234,8 +234,8 @@
@ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@AEAVlocation@2@@Z @ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@AEAVlocation@2@@Z
@ stub -arch=win32 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@XZ @ stub -arch=win32 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@XZ
@ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@XZ @ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@XZ
@ stub -arch=win32 ?CurrentContext@Context@Concurrency@@SAPAV12@XZ @ cdecl -arch=win32 ?CurrentContext@Context@Concurrency@@SAPAV12@XZ() msvcr120.?CurrentContext@Context@Concurrency@@SAPAV12@XZ
@ stub -arch=win64 ?CurrentContext@Context@Concurrency@@SAPEAV12@XZ @ cdecl -arch=win64 ?CurrentContext@Context@Concurrency@@SAPEAV12@XZ() msvcr120.?CurrentContext@Context@Concurrency@@SAPEAV12@XZ
@ stub ?Detach@CurrentScheduler@Concurrency@@SAXXZ @ stub ?Detach@CurrentScheduler@Concurrency@@SAXXZ
@ stub ?DisableTracing@Concurrency@@YAJXZ @ stub ?DisableTracing@Concurrency@@YAJXZ
@ stub ?EnableTracing@Concurrency@@YAJXZ @ stub ?EnableTracing@Concurrency@@YAJXZ
@ -254,11 +254,11 @@
@ stub ?GetSchedulerId@Concurrency@@YAIXZ @ stub ?GetSchedulerId@Concurrency@@YAIXZ
@ stub -arch=win32 ?GetSharedTimerQueue@details@Concurrency@@YAPAXXZ @ stub -arch=win32 ?GetSharedTimerQueue@details@Concurrency@@YAPAXXZ
@ stub -arch=win64 ?GetSharedTimerQueue@details@Concurrency@@YAPEAXXZ @ stub -arch=win64 ?GetSharedTimerQueue@details@Concurrency@@YAPEAXXZ
@ stub ?Id@Context@Concurrency@@SAIXZ @ cdecl ?Id@Context@Concurrency@@SAIXZ() msvcr120.?Id@Context@Concurrency@@SAIXZ
@ stub ?Id@CurrentScheduler@Concurrency@@SAIXZ @ stub ?Id@CurrentScheduler@Concurrency@@SAIXZ
@ stub -arch=win32 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NABVlocation@2@@Z @ stub -arch=win32 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NABVlocation@2@@Z
@ stub -arch=win64 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NAEBVlocation@2@@Z @ stub -arch=win64 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NAEBVlocation@2@@Z
@ stub ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ @ cdecl ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ() msvcr120.?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ
# extern ?LockEventGuid@Concurrency@@3U_GUID@@B # extern ?LockEventGuid@Concurrency@@3U_GUID@@B
@ stub -arch=win32 ?Log2@details@Concurrency@@YAKI@Z @ stub -arch=win32 ?Log2@details@Concurrency@@YAKI@Z
@ stub -arch=win64 ?Log2@details@Concurrency@@YAK_K@Z @ stub -arch=win64 ?Log2@details@Concurrency@@YAK_K@Z
@ -268,7 +268,7 @@
@ stub -arch=win64 ?NFS_Free@details@Concurrency@@YAXPEAX@Z @ stub -arch=win64 ?NFS_Free@details@Concurrency@@YAXPEAX@Z
@ stub -arch=win32 ?NFS_GetLineSize@details@Concurrency@@YAIXZ @ stub -arch=win32 ?NFS_GetLineSize@details@Concurrency@@YAIXZ
@ stub -arch=win64 ?NFS_GetLineSize@details@Concurrency@@YA_KXZ @ stub -arch=win64 ?NFS_GetLineSize@details@Concurrency@@YA_KXZ
@ stub ?Oversubscribe@Context@Concurrency@@SAX_N@Z @ cdecl ?Oversubscribe@Context@Concurrency@@SAX_N@Z(long) msvcr120.?Oversubscribe@Context@Concurrency@@SAX_N@Z
# extern ?PPLParallelForEventGuid@Concurrency@@3U_GUID@@B # extern ?PPLParallelForEventGuid@Concurrency@@3U_GUID@@B
# extern ?PPLParallelForeachEventGuid@Concurrency@@3U_GUID@@B # extern ?PPLParallelForeachEventGuid@Concurrency@@3U_GUID@@B
# extern ?PPLParallelInvokeEventGuid@Concurrency@@3U_GUID@@B # extern ?PPLParallelInvokeEventGuid@Concurrency@@3U_GUID@@B
@ -277,7 +277,7 @@
@ stub ?ResetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXXZ @ stub ?ResetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXXZ
# extern ?ResourceManagerEventGuid@Concurrency@@3U_GUID@@B # extern ?ResourceManagerEventGuid@Concurrency@@3U_GUID@@B
# extern ?ScheduleGroupEventGuid@Concurrency@@3U_GUID@@B # extern ?ScheduleGroupEventGuid@Concurrency@@3U_GUID@@B
@ stub ?ScheduleGroupId@Context@Concurrency@@SAIXZ @ cdecl ?ScheduleGroupId@Context@Concurrency@@SAIXZ() msvcr120.?ScheduleGroupId@Context@Concurrency@@SAIXZ
@ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0@Z @ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0@Z
@ stub -arch=win64 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPEAX@Z0@Z @ stub -arch=win64 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPEAX@Z0@Z
@ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0AAVlocation@2@@Z @ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0AAVlocation@2@@Z
@ -290,8 +290,8 @@
@ stub -arch=i386 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAEIW4PolicyElementKey@2@I@Z @ stub -arch=i386 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAEIW4PolicyElementKey@2@I@Z
@ stub -arch=win64 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QEAAIW4PolicyElementKey@2@I@Z @ stub -arch=win64 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QEAAIW4PolicyElementKey@2@I@Z
# extern ?VirtualProcessorEventGuid@Concurrency@@3U_GUID@@B # extern ?VirtualProcessorEventGuid@Concurrency@@3U_GUID@@B
@ stub ?VirtualProcessorId@Context@Concurrency@@SAIXZ @ cdecl ?VirtualProcessorId@Context@Concurrency@@SAIXZ() msvcr120.?VirtualProcessorId@Context@Concurrency@@SAIXZ
@ stub ?Yield@Context@Concurrency@@SAXXZ @ cdecl ?Yield@Context@Concurrency@@SAXXZ() msvcr120.?Yield@Context@Concurrency@@SAXXZ
@ stub -arch=i386 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAEXXZ @ stub -arch=i386 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAEXXZ
@ stub -arch=win64 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AEAAXXZ @ stub -arch=win64 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AEAAXXZ
@ thiscall -arch=i386 ?_Acquire@_NonReentrantBlockingLock@details@Concurrency@@QAEXXZ(ptr) msvcr120.?_Acquire@_NonReentrantBlockingLock@details@Concurrency@@QAEXXZ @ thiscall -arch=i386 ?_Acquire@_NonReentrantBlockingLock@details@Concurrency@@QAEXXZ(ptr) msvcr120.?_Acquire@_NonReentrantBlockingLock@details@Concurrency@@QAEXXZ
@ -450,7 +450,7 @@
@ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$00@details@Concurrency@@QEAA_NXZ(ptr) msvcr120.?_SpinOnce@?$_SpinWait@$00@details@Concurrency@@QEAA_NXZ @ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$00@details@Concurrency@@QEAA_NXZ(ptr) msvcr120.?_SpinOnce@?$_SpinWait@$00@details@Concurrency@@QEAA_NXZ
@ thiscall -arch=i386 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ(ptr) msvcr120.?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ @ thiscall -arch=i386 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ(ptr) msvcr120.?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ
@ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ(ptr) msvcr120.?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ @ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ(ptr) msvcr120.?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ
@ stub ?_SpinYield@Context@Concurrency@@SAXXZ @ cdecl ?_SpinYield@Context@Concurrency@@SAXXZ() msvcr120.?_SpinYield@Context@Concurrency@@SAXXZ
@ stub -arch=i386 ?_Start@_Timer@details@Concurrency@@IAEXXZ @ stub -arch=i386 ?_Start@_Timer@details@Concurrency@@IAEXXZ
@ stub -arch=win64 ?_Start@_Timer@details@Concurrency@@IEAAXXZ @ stub -arch=win64 ?_Start@_Timer@details@Concurrency@@IEAAXXZ
@ stub -arch=i386 ?_Stop@_Timer@details@Concurrency@@IAEXXZ @ stub -arch=i386 ?_Stop@_Timer@details@Concurrency@@IAEXXZ

View File

@ -27,6 +27,7 @@ C_SRCS = \
misc.c \ misc.c \
process.c \ process.c \
scanf.c \ scanf.c \
scheduler.c \
string.c \ string.c \
thread.c \ thread.c \
time.c \ time.c \

View File

@ -244,7 +244,7 @@
@ cdecl -arch=win64 ??_V@YAXPEAX@Z(ptr) MSVCRT_operator_delete @ cdecl -arch=win64 ??_V@YAXPEAX@Z(ptr) MSVCRT_operator_delete
@ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) Concurrency_Alloc @ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) Concurrency_Alloc
@ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) Concurrency_Alloc @ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) Concurrency_Alloc
@ stub ?Block@Context@Concurrency@@SAXXZ @ cdecl ?Block@Context@Concurrency@@SAXXZ() Context_Block
@ stub -arch=win32 ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z @ stub -arch=win32 ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z
@ stub -arch=win64 ?Create@CurrentScheduler@Concurrency@@SAXAEBVSchedulerPolicy@2@@Z @ stub -arch=win64 ?Create@CurrentScheduler@Concurrency@@SAXAEBVSchedulerPolicy@2@@Z
@ stub -arch=win32 ?Create@Scheduler@Concurrency@@SAPAV12@ABVSchedulerPolicy@2@@Z @ stub -arch=win32 ?Create@Scheduler@Concurrency@@SAPAV12@ABVSchedulerPolicy@2@@Z
@ -253,8 +253,8 @@
@ stub -arch=win64 ?CreateResourceManager@Concurrency@@YAPEAUIResourceManager@1@XZ @ stub -arch=win64 ?CreateResourceManager@Concurrency@@YAPEAUIResourceManager@1@XZ
@ stub -arch=win32 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@XZ @ stub -arch=win32 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@XZ
@ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@XZ @ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@XZ
@ stub -arch=win32 ?CurrentContext@Context@Concurrency@@SAPAV12@XZ @ cdecl -arch=win32 ?CurrentContext@Context@Concurrency@@SAPAV12@XZ() Context_CurrentContext
@ stub -arch=win64 ?CurrentContext@Context@Concurrency@@SAPEAV12@XZ @ cdecl -arch=win64 ?CurrentContext@Context@Concurrency@@SAPEAV12@XZ() Context_CurrentContext
@ stub ?Detach@CurrentScheduler@Concurrency@@SAXXZ @ stub ?Detach@CurrentScheduler@Concurrency@@SAXXZ
@ stub ?DisableTracing@Concurrency@@YAJXZ @ stub ?DisableTracing@Concurrency@@YAJXZ
@ stub ?EnableTracing@Concurrency@@YAJXZ @ stub ?EnableTracing@Concurrency@@YAJXZ
@ -273,16 +273,16 @@
@ stub ?GetSchedulerId@Concurrency@@YAIXZ @ stub ?GetSchedulerId@Concurrency@@YAIXZ
@ stub -arch=win32 ?GetSharedTimerQueue@details@Concurrency@@YAPAXXZ @ stub -arch=win32 ?GetSharedTimerQueue@details@Concurrency@@YAPAXXZ
@ stub -arch=win64 ?GetSharedTimerQueue@details@Concurrency@@YAPEAXXZ @ stub -arch=win64 ?GetSharedTimerQueue@details@Concurrency@@YAPEAXXZ
@ stub ?Id@Context@Concurrency@@SAIXZ @ cdecl ?Id@Context@Concurrency@@SAIXZ() Context_Id
@ stub ?Id@CurrentScheduler@Concurrency@@SAIXZ @ stub ?Id@CurrentScheduler@Concurrency@@SAIXZ
@ stub ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ @ cdecl ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ() Context_IsCurrentTaskCollectionCanceling
@ stub -arch=win32 ?Log2@details@Concurrency@@YAKI@Z @ stub -arch=win32 ?Log2@details@Concurrency@@YAKI@Z
@ stub -arch=win64 ?Log2@details@Concurrency@@YAK_K@Z @ stub -arch=win64 ?Log2@details@Concurrency@@YAK_K@Z
@ stub ?Oversubscribe@Context@Concurrency@@SAX_N@Z @ cdecl ?Oversubscribe@Context@Concurrency@@SAX_N@Z(long) Context_Oversubscribe
@ stub -arch=win32 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPAX@Z @ stub -arch=win32 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPAX@Z
@ stub -arch=win64 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPEAX@Z @ stub -arch=win64 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPEAX@Z
@ stub ?ResetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXXZ @ stub ?ResetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXXZ
@ stub ?ScheduleGroupId@Context@Concurrency@@SAIXZ @ cdecl ?ScheduleGroupId@Context@Concurrency@@SAIXZ() Context_ScheduleGroupId
@ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0@Z @ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0@Z
@ stub -arch=win64 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPEAX@Z0@Z @ stub -arch=win64 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPEAX@Z0@Z
@ stub -arch=win32 ?SetConcurrencyLimits@SchedulerPolicy@Concurrency@@QAEXII@Z @ stub -arch=win32 ?SetConcurrencyLimits@SchedulerPolicy@Concurrency@@QAEXII@Z
@ -291,8 +291,8 @@
@ stub -arch=win64 ?SetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXAEBVSchedulerPolicy@2@@Z @ stub -arch=win64 ?SetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXAEBVSchedulerPolicy@2@@Z
@ stub -arch=win32 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAEIW4PolicyElementKey@2@I@Z @ stub -arch=win32 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAEIW4PolicyElementKey@2@I@Z
@ stub -arch=win64 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QEAAIW4PolicyElementKey@2@I@Z @ stub -arch=win64 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QEAAIW4PolicyElementKey@2@I@Z
@ stub ?VirtualProcessorId@Context@Concurrency@@SAIXZ @ cdecl ?VirtualProcessorId@Context@Concurrency@@SAIXZ() Context_VirtualProcessorId
@ stub ?Yield@Context@Concurrency@@SAXXZ @ cdecl ?Yield@Context@Concurrency@@SAXXZ() Context_Yield
@ stub -arch=win32 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAEXXZ @ stub -arch=win32 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAEXXZ
@ stub -arch=win64 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AEAAXXZ @ stub -arch=win64 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AEAAXXZ
@ thiscall -arch=win32 ?_Acquire@_NonReentrantBlockingLock@details@Concurrency@@QAEXXZ(ptr) _ReentrantBlockingLock__Acquire @ thiscall -arch=win32 ?_Acquire@_NonReentrantBlockingLock@details@Concurrency@@QAEXXZ(ptr) _ReentrantBlockingLock__Acquire
@ -379,7 +379,7 @@
@ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$00@details@Concurrency@@QEAA_NXZ(ptr) SpinWait__SpinOnce @ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$00@details@Concurrency@@QEAA_NXZ(ptr) SpinWait__SpinOnce
@ thiscall -arch=win32 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ(ptr) SpinWait__SpinOnce @ thiscall -arch=win32 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ(ptr) SpinWait__SpinOnce
@ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ(ptr) SpinWait__SpinOnce @ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ(ptr) SpinWait__SpinOnce
@ stub ?_SpinYield@Context@Concurrency@@SAXXZ @ cdecl ?_SpinYield@Context@Concurrency@@SAXXZ() Context__SpinYield
@ stub -arch=win32 ?_Start@_Timer@details@Concurrency@@IAEXXZ @ stub -arch=win32 ?_Start@_Timer@details@Concurrency@@IAEXXZ
@ stub -arch=win64 ?_Start@_Timer@details@Concurrency@@IEAAXXZ @ stub -arch=win64 ?_Start@_Timer@details@Concurrency@@IEAAXXZ
@ stub -arch=win32 ?_Stop@_Timer@details@Concurrency@@IAEXXZ @ stub -arch=win32 ?_Stop@_Timer@details@Concurrency@@IAEXXZ

View File

@ -27,6 +27,7 @@ C_SRCS = \
misc.c \ misc.c \
process.c \ process.c \
scanf.c \ scanf.c \
scheduler.c \
string.c \ string.c \
thread.c \ thread.c \
time.c \ time.c \

View File

@ -402,7 +402,7 @@
@ stub -arch=win64 ??_V@YAXPEAXHPEBDH@Z @ stub -arch=win64 ??_V@YAXPEAXHPEBDH@Z
@ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) Concurrency_Alloc @ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) Concurrency_Alloc
@ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) Concurrency_Alloc @ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) Concurrency_Alloc
@ stub ?Block@Context@Concurrency@@SAXXZ @ cdecl ?Block@Context@Concurrency@@SAXXZ() Context_Block
@ stub -arch=win32 ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z @ stub -arch=win32 ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z
@ stub -arch=win64 ?Create@CurrentScheduler@Concurrency@@SAXAEBVSchedulerPolicy@2@@Z @ stub -arch=win64 ?Create@CurrentScheduler@Concurrency@@SAXAEBVSchedulerPolicy@2@@Z
@ stub -arch=win32 ?Create@Scheduler@Concurrency@@SAPAV12@ABVSchedulerPolicy@2@@Z @ stub -arch=win32 ?Create@Scheduler@Concurrency@@SAPAV12@ABVSchedulerPolicy@2@@Z
@ -413,8 +413,8 @@
@ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@AEAVlocation@2@@Z @ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@AEAVlocation@2@@Z
@ stub -arch=win32 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@XZ @ stub -arch=win32 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@XZ
@ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@XZ @ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@XZ
@ stub -arch=win32 ?CurrentContext@Context@Concurrency@@SAPAV12@XZ @ cdecl -arch=win32 ?CurrentContext@Context@Concurrency@@SAPAV12@XZ() Context_CurrentContext
@ stub -arch=win64 ?CurrentContext@Context@Concurrency@@SAPEAV12@XZ @ cdecl -arch=win64 ?CurrentContext@Context@Concurrency@@SAPEAV12@XZ() Context_CurrentContext
@ stub ?Detach@CurrentScheduler@Concurrency@@SAXXZ @ stub ?Detach@CurrentScheduler@Concurrency@@SAXXZ
@ stub ?DisableTracing@Concurrency@@YAJXZ @ stub ?DisableTracing@Concurrency@@YAJXZ
@ stub ?EnableTracing@Concurrency@@YAJXZ @ stub ?EnableTracing@Concurrency@@YAJXZ
@ -434,18 +434,18 @@
@ stub ?GetSchedulerId@Concurrency@@YAIXZ @ stub ?GetSchedulerId@Concurrency@@YAIXZ
@ stub -arch=win32 ?GetSharedTimerQueue@details@Concurrency@@YAPAXXZ @ stub -arch=win32 ?GetSharedTimerQueue@details@Concurrency@@YAPAXXZ
@ stub -arch=win64 ?GetSharedTimerQueue@details@Concurrency@@YAPEAXXZ @ stub -arch=win64 ?GetSharedTimerQueue@details@Concurrency@@YAPEAXXZ
@ stub ?Id@Context@Concurrency@@SAIXZ @ cdecl ?Id@Context@Concurrency@@SAIXZ() Context_Id
@ stub ?Id@CurrentScheduler@Concurrency@@SAIXZ @ stub ?Id@CurrentScheduler@Concurrency@@SAIXZ
@ stub -arch=win32 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NABVlocation@2@@Z @ stub -arch=win32 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NABVlocation@2@@Z
@ stub -arch=win64 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NAEBVlocation@2@@Z @ stub -arch=win64 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NAEBVlocation@2@@Z
@ stub ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ @ cdecl ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ() Context_IsCurrentTaskCollectionCanceling
@ stub -arch=win32 ?Log2@details@Concurrency@@YAKI@Z @ stub -arch=win32 ?Log2@details@Concurrency@@YAKI@Z
@ stub -arch=win64 ?Log2@details@Concurrency@@YAK_K@Z @ stub -arch=win64 ?Log2@details@Concurrency@@YAK_K@Z
@ stub ?Oversubscribe@Context@Concurrency@@SAX_N@Z @ cdecl ?Oversubscribe@Context@Concurrency@@SAX_N@Z(long) Context_Oversubscribe
@ stub -arch=win32 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPAX@Z @ stub -arch=win32 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPAX@Z
@ stub -arch=win64 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPEAX@Z @ stub -arch=win64 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPEAX@Z
@ stub ?ResetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXXZ @ stub ?ResetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXXZ
@ stub ?ScheduleGroupId@Context@Concurrency@@SAIXZ @ cdecl ?ScheduleGroupId@Context@Concurrency@@SAIXZ() Context_ScheduleGroupId
@ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0@Z @ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0@Z
@ stub -arch=win64 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPEAX@Z0@Z @ stub -arch=win64 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPEAX@Z0@Z
@ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0AAVlocation@2@@Z @ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0AAVlocation@2@@Z
@ -458,8 +458,8 @@
@ stub -arch=arm ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAAIW4PolicyElementKey@2@I@Z @ stub -arch=arm ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAAIW4PolicyElementKey@2@I@Z
@ stub -arch=i386 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAEIW4PolicyElementKey@2@I@Z @ stub -arch=i386 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAEIW4PolicyElementKey@2@I@Z
@ stub -arch=win64 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QEAAIW4PolicyElementKey@2@I@Z @ stub -arch=win64 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QEAAIW4PolicyElementKey@2@I@Z
@ stub ?VirtualProcessorId@Context@Concurrency@@SAIXZ @ cdecl ?VirtualProcessorId@Context@Concurrency@@SAIXZ() Context_VirtualProcessorId
@ stub ?Yield@Context@Concurrency@@SAXXZ @ cdecl ?Yield@Context@Concurrency@@SAXXZ() Context_Yield
@ stub -arch=arm ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAAXXZ @ stub -arch=arm ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAAXXZ
@ stub -arch=i386 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAEXXZ @ stub -arch=i386 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAEXXZ
@ stub -arch=win64 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AEAAXXZ @ stub -arch=win64 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AEAAXXZ
@ -647,7 +647,7 @@
@ cdecl -arch=arm ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAA_NXZ(ptr) SpinWait__SpinOnce @ cdecl -arch=arm ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAA_NXZ(ptr) SpinWait__SpinOnce
@ thiscall -arch=i386 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ(ptr) SpinWait__SpinOnce @ thiscall -arch=i386 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ(ptr) SpinWait__SpinOnce
@ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ(ptr) SpinWait__SpinOnce @ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ(ptr) SpinWait__SpinOnce
@ stub ?_SpinYield@Context@Concurrency@@SAXXZ @ cdecl ?_SpinYield@Context@Concurrency@@SAXXZ() Context__SpinYield
@ stub -arch=arm ?_Start@_Timer@details@Concurrency@@IAAXXZ @ stub -arch=arm ?_Start@_Timer@details@Concurrency@@IAAXXZ
@ stub -arch=i386 ?_Start@_Timer@details@Concurrency@@IAEXXZ @ stub -arch=i386 ?_Start@_Timer@details@Concurrency@@IAEXXZ
@ stub -arch=win64 ?_Start@_Timer@details@Concurrency@@IEAAXXZ @ stub -arch=win64 ?_Start@_Timer@details@Concurrency@@IEAAXXZ

View File

@ -27,6 +27,7 @@ C_SRCS = \
misc.c \ misc.c \
process.c \ process.c \
scanf.c \ scanf.c \
scheduler.c \
string.c \ string.c \
thread.c \ thread.c \
time.c \ time.c \

View File

@ -398,7 +398,7 @@
@ stub -arch=win64 ??_V@YAXPEAXHPEBDH@Z @ stub -arch=win64 ??_V@YAXPEAXHPEBDH@Z
@ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) Concurrency_Alloc @ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) Concurrency_Alloc
@ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) Concurrency_Alloc @ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) Concurrency_Alloc
@ stub ?Block@Context@Concurrency@@SAXXZ @ cdecl ?Block@Context@Concurrency@@SAXXZ() Context_Block
@ stub -arch=win32 ?CaptureCallstack@platform@details@Concurrency@@YAIPAPAXII@Z @ stub -arch=win32 ?CaptureCallstack@platform@details@Concurrency@@YAIPAPAXII@Z
@ stub -arch=win64 ?CaptureCallstack@platform@details@Concurrency@@YA_KPEAPEAX_K1@Z @ stub -arch=win64 ?CaptureCallstack@platform@details@Concurrency@@YA_KPEAPEAX_K1@Z
@ stub -arch=win32 ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z @ stub -arch=win32 ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z
@ -411,8 +411,8 @@
@ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@AEAVlocation@2@@Z @ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@AEAVlocation@2@@Z
@ stub -arch=win32 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@XZ @ stub -arch=win32 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@XZ
@ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@XZ @ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@XZ
@ stub -arch=win32 ?CurrentContext@Context@Concurrency@@SAPAV12@XZ @ cdecl -arch=win32 ?CurrentContext@Context@Concurrency@@SAPAV12@XZ() Context_CurrentContext
@ stub -arch=win64 ?CurrentContext@Context@Concurrency@@SAPEAV12@XZ @ cdecl -arch=win64 ?CurrentContext@Context@Concurrency@@SAPEAV12@XZ() Context_CurrentContext
@ stub ?Detach@CurrentScheduler@Concurrency@@SAXXZ @ stub ?Detach@CurrentScheduler@Concurrency@@SAXXZ
@ stub ?DisableTracing@Concurrency@@YAJXZ @ stub ?DisableTracing@Concurrency@@YAJXZ
@ stub ?EnableTracing@Concurrency@@YAJXZ @ stub ?EnableTracing@Concurrency@@YAJXZ
@ -433,18 +433,18 @@
@ stub ?GetSchedulerId@Concurrency@@YAIXZ @ stub ?GetSchedulerId@Concurrency@@YAIXZ
@ stub -arch=win32 ?GetSharedTimerQueue@details@Concurrency@@YAPAXXZ @ stub -arch=win32 ?GetSharedTimerQueue@details@Concurrency@@YAPAXXZ
@ stub -arch=win64 ?GetSharedTimerQueue@details@Concurrency@@YAPEAXXZ @ stub -arch=win64 ?GetSharedTimerQueue@details@Concurrency@@YAPEAXXZ
@ stub ?Id@Context@Concurrency@@SAIXZ @ cdecl ?Id@Context@Concurrency@@SAIXZ() Context_Id
@ stub ?Id@CurrentScheduler@Concurrency@@SAIXZ @ stub ?Id@CurrentScheduler@Concurrency@@SAIXZ
@ stub -arch=win32 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NABVlocation@2@@Z @ stub -arch=win32 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NABVlocation@2@@Z
@ stub -arch=win64 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NAEBVlocation@2@@Z @ stub -arch=win64 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NAEBVlocation@2@@Z
@ stub ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ @ cdecl ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ() Context_IsCurrentTaskCollectionCanceling
@ stub -arch=win32 ?Log2@details@Concurrency@@YAKI@Z @ stub -arch=win32 ?Log2@details@Concurrency@@YAKI@Z
@ stub -arch=win64 ?Log2@details@Concurrency@@YAK_K@Z @ stub -arch=win64 ?Log2@details@Concurrency@@YAK_K@Z
@ stub ?Oversubscribe@Context@Concurrency@@SAX_N@Z @ cdecl ?Oversubscribe@Context@Concurrency@@SAX_N@Z(long) Context_Oversubscribe
@ stub -arch=win32 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPAX@Z @ stub -arch=win32 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPAX@Z
@ stub -arch=win64 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPEAX@Z @ stub -arch=win64 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPEAX@Z
@ stub ?ResetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXXZ @ stub ?ResetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXXZ
@ stub ?ScheduleGroupId@Context@Concurrency@@SAIXZ @ cdecl ?ScheduleGroupId@Context@Concurrency@@SAIXZ() Context_ScheduleGroupId
@ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0@Z @ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0@Z
@ stub -arch=win64 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPEAX@Z0@Z @ stub -arch=win64 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPEAX@Z0@Z
@ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0AAVlocation@2@@Z @ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0AAVlocation@2@@Z
@ -457,8 +457,8 @@
@ stub -arch=arm ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAAIW4PolicyElementKey@2@I@Z @ stub -arch=arm ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAAIW4PolicyElementKey@2@I@Z
@ stub -arch=i386 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAEIW4PolicyElementKey@2@I@Z @ stub -arch=i386 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAEIW4PolicyElementKey@2@I@Z
@ stub -arch=win64 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QEAAIW4PolicyElementKey@2@I@Z @ stub -arch=win64 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QEAAIW4PolicyElementKey@2@I@Z
@ stub ?VirtualProcessorId@Context@Concurrency@@SAIXZ @ cdecl ?VirtualProcessorId@Context@Concurrency@@SAIXZ() Context_VirtualProcessorId
@ stub ?Yield@Context@Concurrency@@SAXXZ @ cdecl ?Yield@Context@Concurrency@@SAXXZ() Context_Yield
@ stub -arch=arm ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAAXXZ @ stub -arch=arm ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAAXXZ
@ stub -arch=i386 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAEXXZ @ stub -arch=i386 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAEXXZ
@ stub -arch=win64 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AEAAXXZ @ stub -arch=win64 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AEAAXXZ
@ -629,7 +629,7 @@
@ cdecl -arch=arm ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAA_NXZ(ptr) SpinWait__SpinOnce @ cdecl -arch=arm ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAA_NXZ(ptr) SpinWait__SpinOnce
@ thiscall -arch=i386 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ(ptr) SpinWait__SpinOnce @ thiscall -arch=i386 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ(ptr) SpinWait__SpinOnce
@ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ(ptr) SpinWait__SpinOnce @ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ(ptr) SpinWait__SpinOnce
@ stub ?_SpinYield@Context@Concurrency@@SAXXZ @ cdecl ?_SpinYield@Context@Concurrency@@SAXXZ() Context__SpinYield
@ stub -arch=arm ?_Start@_Timer@details@Concurrency@@IAAXXZ @ stub -arch=arm ?_Start@_Timer@details@Concurrency@@IAAXXZ
@ stub -arch=i386 ?_Start@_Timer@details@Concurrency@@IAEXXZ @ stub -arch=i386 ?_Start@_Timer@details@Concurrency@@IAEXXZ
@ stub -arch=win64 ?_Start@_Timer@details@Concurrency@@IEAAXXZ @ stub -arch=win64 ?_Start@_Timer@details@Concurrency@@IEAAXXZ

View File

@ -395,7 +395,7 @@
@ stub -arch=win64 ??_V@YAXPEAXHPEBDH@Z @ stub -arch=win64 ??_V@YAXPEAXHPEBDH@Z
@ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) msvcr120.?Alloc@Concurrency@@YAPAXI@Z @ cdecl -arch=win32 ?Alloc@Concurrency@@YAPAXI@Z(long) msvcr120.?Alloc@Concurrency@@YAPAXI@Z
@ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) msvcr120.?Alloc@Concurrency@@YAPEAX_K@Z @ cdecl -arch=win64 ?Alloc@Concurrency@@YAPEAX_K@Z(long) msvcr120.?Alloc@Concurrency@@YAPEAX_K@Z
@ stub ?Block@Context@Concurrency@@SAXXZ @ cdecl ?Block@Context@Concurrency@@SAXXZ() msvcr120.?Block@Context@Concurrency@@SAXXZ
@ stub ?CaptureCallstack@platform@details@Concurrency@@YAIPAPAXII@Z @ stub ?CaptureCallstack@platform@details@Concurrency@@YAIPAPAXII@Z
@ stub -arch=win32 ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z @ stub -arch=win32 ?Create@CurrentScheduler@Concurrency@@SAXABVSchedulerPolicy@2@@Z
@ stub -arch=win64 ?Create@CurrentScheduler@Concurrency@@SAXAEBVSchedulerPolicy@2@@Z @ stub -arch=win64 ?Create@CurrentScheduler@Concurrency@@SAXAEBVSchedulerPolicy@2@@Z
@ -407,8 +407,8 @@
@ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@AEAVlocation@2@@Z @ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@AEAVlocation@2@@Z
@ stub -arch=win32 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@XZ @ stub -arch=win32 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPAVScheduleGroup@2@XZ
@ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@XZ @ stub -arch=win64 ?CreateScheduleGroup@CurrentScheduler@Concurrency@@SAPEAVScheduleGroup@2@XZ
@ stub -arch=win32 ?CurrentContext@Context@Concurrency@@SAPAV12@XZ @ cdecl -arch=win32 ?CurrentContext@Context@Concurrency@@SAPAV12@XZ() msvcr120.?CurrentContext@Context@Concurrency@@SAPAV12@XZ
@ stub -arch=win64 ?CurrentContext@Context@Concurrency@@SAPEAV12@XZ @ cdecl -arch=win64 ?CurrentContext@Context@Concurrency@@SAPEAV12@XZ() msvcr120.?CurrentContext@Context@Concurrency@@SAPEAV12@XZ
@ stub ?Detach@CurrentScheduler@Concurrency@@SAXXZ @ stub ?Detach@CurrentScheduler@Concurrency@@SAXXZ
@ stub ?DisableTracing@Concurrency@@YAJXZ @ stub ?DisableTracing@Concurrency@@YAJXZ
@ stub ?EnableTracing@Concurrency@@YAJXZ @ stub ?EnableTracing@Concurrency@@YAJXZ
@ -429,18 +429,18 @@
@ stub ?GetSchedulerId@Concurrency@@YAIXZ @ stub ?GetSchedulerId@Concurrency@@YAIXZ
@ stub -arch=win32 ?GetSharedTimerQueue@details@Concurrency@@YAPAXXZ @ stub -arch=win32 ?GetSharedTimerQueue@details@Concurrency@@YAPAXXZ
@ stub -arch=win64 ?GetSharedTimerQueue@details@Concurrency@@YAPEAXXZ @ stub -arch=win64 ?GetSharedTimerQueue@details@Concurrency@@YAPEAXXZ
@ stub ?Id@Context@Concurrency@@SAIXZ @ cdecl ?Id@Context@Concurrency@@SAIXZ() msvcr120.?Id@Context@Concurrency@@SAIXZ
@ stub ?Id@CurrentScheduler@Concurrency@@SAIXZ @ stub ?Id@CurrentScheduler@Concurrency@@SAIXZ
@ stub -arch=win32 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NABVlocation@2@@Z @ stub -arch=win32 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NABVlocation@2@@Z
@ stub -arch=win64 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NAEBVlocation@2@@Z @ stub -arch=win64 ?IsAvailableLocation@CurrentScheduler@Concurrency@@SA_NAEBVlocation@2@@Z
@ stub ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ @ cdecl ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ() msvcr120.?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ
@ stub -arch=win32 ?Log2@details@Concurrency@@YAKI@Z @ stub -arch=win32 ?Log2@details@Concurrency@@YAKI@Z
@ stub -arch=win64 ?Log2@details@Concurrency@@YAK_K@Z @ stub -arch=win64 ?Log2@details@Concurrency@@YAK_K@Z
@ stub ?Oversubscribe@Context@Concurrency@@SAX_N@Z @ cdecl ?Oversubscribe@Context@Concurrency@@SAX_N@Z(long) msvcr120.?Oversubscribe@Context@Concurrency@@SAX_N@Z
@ stub -arch=win32 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPAX@Z @ stub -arch=win32 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPAX@Z
@ stub -arch=win64 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPEAX@Z @ stub -arch=win64 ?RegisterShutdownEvent@CurrentScheduler@Concurrency@@SAXPEAX@Z
@ stub ?ResetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXXZ @ stub ?ResetDefaultSchedulerPolicy@Scheduler@Concurrency@@SAXXZ
@ stub ?ScheduleGroupId@Context@Concurrency@@SAIXZ @ cdecl ?ScheduleGroupId@Context@Concurrency@@SAIXZ() msvcr120.?ScheduleGroupId@Context@Concurrency@@SAIXZ
@ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0@Z @ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0@Z
@ stub -arch=win64 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPEAX@Z0@Z @ stub -arch=win64 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPEAX@Z0@Z
@ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0AAVlocation@2@@Z @ stub -arch=win32 ?ScheduleTask@CurrentScheduler@Concurrency@@SAXP6AXPAX@Z0AAVlocation@2@@Z
@ -453,8 +453,8 @@
@ stub -arch=arm ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAAIW4PolicyElementKey@2@I@Z @ stub -arch=arm ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAAIW4PolicyElementKey@2@I@Z
@ stub -arch=i386 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAEIW4PolicyElementKey@2@I@Z @ stub -arch=i386 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QAEIW4PolicyElementKey@2@I@Z
@ stub -arch=win64 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QEAAIW4PolicyElementKey@2@I@Z @ stub -arch=win64 ?SetPolicyValue@SchedulerPolicy@Concurrency@@QEAAIW4PolicyElementKey@2@I@Z
@ stub ?VirtualProcessorId@Context@Concurrency@@SAIXZ @ cdecl ?VirtualProcessorId@Context@Concurrency@@SAIXZ() msvcr120.?VirtualProcessorId@Context@Concurrency@@SAIXZ
@ stub ?Yield@Context@Concurrency@@SAXXZ @ cdecl ?Yield@Context@Concurrency@@SAXXZ() msvcr120.?Yield@Context@Concurrency@@SAXXZ
@ stub -arch=arm ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAAXXZ @ stub -arch=arm ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAAXXZ
@ stub -arch=i386 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAEXXZ @ stub -arch=i386 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AAEXXZ
@ stub -arch=win64 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AEAAXXZ @ stub -arch=win64 ?_Abort@_StructuredTaskCollection@details@Concurrency@@AEAAXXZ
@ -625,7 +625,7 @@
@ cdecl -arch=arm ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAA_NXZ(ptr) msvcr120.?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAA_NXZ @ cdecl -arch=arm ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAA_NXZ(ptr) msvcr120.?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAA_NXZ
@ thiscall -arch=i386 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ(ptr) msvcr120.?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ @ thiscall -arch=i386 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ(ptr) msvcr120.?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QAE_NXZ
@ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ(ptr) msvcr120.?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ @ cdecl -arch=win64 ?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ(ptr) msvcr120.?_SpinOnce@?$_SpinWait@$0A@@details@Concurrency@@QEAA_NXZ
@ stub ?_SpinYield@Context@Concurrency@@SAXXZ @ cdecl ?_SpinYield@Context@Concurrency@@SAXXZ() msvcr120.?_SpinYield@Context@Concurrency@@SAXXZ
@ stub -arch=arm ?_Start@_Timer@details@Concurrency@@IAAXXZ @ stub -arch=arm ?_Start@_Timer@details@Concurrency@@IAAXXZ
@ stub -arch=i386 ?_Start@_Timer@details@Concurrency@@IAEXXZ @ stub -arch=i386 ?_Start@_Timer@details@Concurrency@@IAEXXZ
@ stub -arch=win64 ?_Start@_Timer@details@Concurrency@@IEAAXXZ @ stub -arch=win64 ?_Start@_Timer@details@Concurrency@@IEAAXXZ

View File

@ -26,6 +26,7 @@ C_SRCS = \
misc.c \ misc.c \
process.c \ process.c \
scanf.c \ scanf.c \
scheduler.c \
string.c \ string.c \
thread.c \ thread.c \
time.c \ time.c \

98
dlls/msvcrt/scheduler.c Normal file
View File

@ -0,0 +1,98 @@
/*
* msvcrt.dll C++ objects
*
* Copyright 2017 Piotr Caban
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winternl.h"
#include "wine/debug.h"
#include "msvcrt.h"
#include "cppexcept.h"
#include "cxx.h"
#if _MSVCR_VER >= 100
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
typedef struct {
const vtable_ptr *vtable;
} Context;
/* ?CurrentContext@Context@Concurrency@@SAPAV12@XZ */
/* ?CurrentContext@Context@Concurrency@@SAPEAV12@XZ */
Context* __cdecl Context_CurrentContext(void)
{
FIXME("()\n");
return NULL;
}
/* ?Id@Context@Concurrency@@SAIXZ */
unsigned int __cdecl Context_Id(void)
{
FIXME("()\n");
return -1;
}
/* ?Block@Context@Concurrency@@SAXXZ */
void __cdecl Context_Block(void)
{
FIXME("()\n");
}
/* ?Yield@Context@Concurrency@@SAXXZ */
void __cdecl Context_Yield(void)
{
FIXME("()\n");
}
/* ?_SpinYield@Context@Concurrency@@SAXXZ */
void __cdecl Context__SpinYield(void)
{
FIXME("()\n");
}
/* ?IsCurrentTaskCollectionCanceling@Context@Concurrency@@SA_NXZ */
MSVCRT_bool __cdecl Context_IsCurrentTaskCollectionCanceling(void)
{
FIXME("()\n");
return FALSE;
}
/* ?Oversubscribe@Context@Concurrency@@SAX_N@Z */
void __cdecl Context_Oversubscribe(MSVCRT_bool begin)
{
FIXME("(%x)\n", begin);
}
/* ?ScheduleGroupId@Context@Concurrency@@SAIXZ */
unsigned int __cdecl Context_ScheduleGroupId(void)
{
FIXME("()\n");
return -1;
}
/* ?VirtualProcessorId@Context@Concurrency@@SAIXZ */
unsigned int __cdecl Context_VirtualProcessorId(void)
{
FIXME("()\n");
return -1;
}
#endif /* _MSVCR_VER >= 100 */