Piotr Caban
661791cb7e
msvcp100: Add _Runtime_object class implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-08 14:50:10 -06:00
Piotr Caban
4e863fa7c7
msvcp100: Support exceptions while copying object in _Concurrent_queue_base_v4::_Internal_push.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:29:09 +01:00
Piotr Caban
411e3c51c0
msvcp100: Add _Concurrent_queue_base_v4 push/pop implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:29:04 +01:00
Piotr Caban
1a00d8dd71
msvcp100: Add _Concurrent_queue_base_v4::_Internal_size implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:29:02 +01:00
Piotr Caban
7c34dda603
msvcp100: Add _Concurrent_queue_base_v4::_Internal_finish_clear implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:29:00 +01:00
Piotr Caban
7686be0a5d
msvcp100: Add _Concurrent_queue_base_v4 destructor implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:28:58 +01:00
Piotr Caban
8d9c48171c
msvcp100: Add _Concurrent_queue_base_v4 constructor implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:28:56 +01:00
Piotr Caban
0771b2e7a8
msvcp100: Add _Concurrent_queue_base_v4::_Internal_throw_exception implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:28:54 +01:00
Piotr Caban
9799de8d2d
msvcp100: Add Concurrency::details::_Concurrent_queue_base_v4 class stub.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:28:52 +01:00
Stefan Dösinger
3ea7102cbe
msvcp: Cast the wait time in _Cnd_timedwait to ULONG.
...
This prevents sign extending it when promoting it to ULONGLONG. This
fixes high CPU usage in Wargaming Game Center that was caused by
_Cnd_timedwait instantly returning timeout instead of waiting for the
requested 30 days.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-06 17:01:43 +01:00
Daniel Lehman
237788a56e
msvcp120: Implement concurrent_vector::_Internal_throw_exception.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-20 18:59:35 +02:00
Piotr Caban
1d35db9f57
msvcp120: Fix _Xtime_diff_to_millis2 overflow behavior.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-17 18:03:21 +02:00
Daniel Lehman
4655942816
msvcp120: Implement concurrent_vector::_Segment_index_of.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-11 13:58:00 +02:00
Piotr Caban
f95c26ab69
msvcp110: Add placeholder::_Ph* exports.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-07 16:20:50 -05:00
Francois Gouget
459134b855
msvcp90: {init,free}_misc() are only used with msvcp >= 100.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 14:09:20 +02:00
Daniel Lehman
d22569e83c
msvcp140: Add __crtFlushProcessWriteBuffers.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 14:08:55 +02:00
Daniel Lehman
e437438a12
msvcp140: Add __crtGetCurrentProcessorNumber.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 14:08:40 +02:00
Daniel Lehman
e54654ef3f
msvcp140: Add __crtFreeLibraryWhenCallbackReturns.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 14:08:33 +02:00
Daniel Lehman
5fb502b06e
msvcp140: Add __crtWaitForThreadpoolTimerCallbacks.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 14:08:16 +02:00
Daniel Lehman
8104282988
msvcp140: Add __crtCloseThreadpoolWait.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 14:08:10 +02:00
Daniel Lehman
a0cf8ce924
msvcp140: Add __crtCloseThreadpoolTimer.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 14:08:03 +02:00
Piotr Caban
7ec727b31c
msvcp100: Improve is_current_task_group_canceling function stub.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-24 20:51:30 +01:00
Gijs Vermeulen
7f1044f212
msvcp100: Add stub for Concurrency::is_current_task_group_canceling.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 15:32:10 +01:00
Piotr Caban
4c54f9aeac
msvcp140: Add {_Schedule,_Reschedule,_Release}_chore implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:38 +01:00
Piotr Caban
fe1ae48bbe
msvcp140: Add _TaskEventLogger class implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-15 17:33:06 +01:00
Piotr Caban
10266f5bf5
msvcp140: Add __crtSetThreadpoolWait implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:27 +01:00
Piotr Caban
d0c398a56c
msvcp140: Add __crtCreateThreadpoolWait implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:27 +01:00
Piotr Caban
941ce07a4c
msvcp140: Add __crtSetThreadpoolTimer implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:27 +01:00
Piotr Caban
0f8a703dee
msvcp140: Add __crtCreateThreadpoolTimer implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:27 +01:00
Piotr Caban
2fe03d7d37
msvcp140: Add _ContextCallback implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:26 +01:00
Piotr Caban
10b36e3977
msvcp140: Add task_continuation_context constructor implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-01 15:57:29 +01:00
Piotr Caban
3b9e9dd06a
msvcp110: Add _Lock_shared_ptr_spin_lock implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-28 15:03:07 +01:00
Piotr Caban
a941841556
msvcp100: Add stdext::threads::_Mtx_* implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-11 16:59:33 +02:00
Piotr Caban
42cfb0ab0e
msvcp140: Add _Cnd_destroy_in_situ implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:16 +09:00
Piotr Caban
4dc7f609e7
msvcp110: Add _Cnd_{do_broadcast,register,unregister}_at_thread_exit implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-27 21:43:24 +09:00
Piotr Caban
bb88947b05
msvcp140: Add _Execute_once implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 21:54:31 +09:00
Piotr Caban
61e6e8baa0
msvcp140: Add _Cnd_init_in_situ implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-23 23:55:43 +09:00
Daniel Lehman
532999462d
msvcp140: Add _Thrd_id.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 00:02:03 +09:00
Daniel Lehman
1026e85d9f
msvcp140: Add _Query_perf_[counter|frequency].
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 22:20:37 +09:00
Nikolay Sivov
fd10b07782
msvcp140: Added __crtCreateSemaphoreExW().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-09 21:59:59 +09:00
Nikolay Sivov
7e485ea87b
msvcp140: Added __crtGetTickCount64().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-09 21:59:59 +09:00
Nikolay Sivov
1b8eb25ff2
msvcp140: Added __crtCreateEventExW().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-09 21:59:59 +09:00
Daniel Lehman
4b41672f9f
msvcp140: Add _Mtx_init/destroy_in_situ.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 12:37:40 +09:00
Daniel Lehman
236b5f5887
msvcp140: Take _Mtx_t and _Cnd_t directly.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 12:37:34 +09:00
Daniel Lehman
04bb658f0a
msvcp140: Implement _Thrd_hardware_concurrency.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 12:36:11 +09:00
Nikolay Sivov
e3c5c7d03d
msvcp140: Added __crtInitializeCriticalSectionEx().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-05 09:07:30 -05:00
Frédéric Delanoy
58e95f7221
msvcp90: Fix a typo in an FIXME message.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 23:01:02 +09:00
Daniel Lehman
2a65d21d1a
msvcp120: Add _Mtx_current_owns.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:35:16 +09:00
Piotr Caban
ede38f4fdb
msvcp100: Add std::generic_category() implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 21:59:43 +09:00
Piotr Caban
21a9a8c684
msvcp100: Add std::system_category() implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 21:59:42 +09:00