Piotr Caban : msvcp100: Add _Concurrent_queue_base_v4:: _Internal_size implementation.
Alexandre Julliard
julliard at winehq.org
Tue Jan 23 16:09:50 CST 2018
Module: wine
Branch: master
Commit: 1a00d8dd71eadabfbe5bc9e8c0c753f0dfa62b8d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1a00d8dd71eadabfbe5bc9e8c0c753f0dfa62b8d
Author: Piotr Caban <piotr at codeweavers.com>
Date: Tue Jan 23 17:03:40 2018 +0100
msvcp100: Add _Concurrent_queue_base_v4::_Internal_size implementation.
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msvcp90/misc.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/msvcp90/misc.c b/dlls/msvcp90/misc.c
index 32d9e29..ca85079 100644
--- a/dlls/msvcp90/misc.c
+++ b/dlls/msvcp90/misc.c
@@ -1330,8 +1330,8 @@ DEFINE_THISCALL_WRAPPER(_Concurrent_queue_base_v4__Internal_empty, 4)
MSVCP_bool __thiscall _Concurrent_queue_base_v4__Internal_empty(
const _Concurrent_queue_base_v4 *this)
{
- FIXME("(%p) stub\n", this);
- return 0;
+ TRACE("(%p)\n", this);
+ return this->data->head_pos == this->data->tail_pos;
}
/* ?_Internal_size at _Concurrent_queue_base_v4@details at Concurrency@@IBEIXZ */
@@ -1340,8 +1340,8 @@ DEFINE_THISCALL_WRAPPER(_Concurrent_queue_base_v4__Internal_size, 4)
MSVCP_size_t __thiscall _Concurrent_queue_base_v4__Internal_size(
const _Concurrent_queue_base_v4 *this)
{
- FIXME("(%p) stub\n", this);
- return 0;
+ TRACE("(%p)\n", this);
+ return this->data->tail_pos - this->data->head_pos;
}
/* ?_Internal_push at _Concurrent_queue_base_v4@details at Concurrency@@IAEXPBX at Z */
More information about the wine-cvs
mailing list