Bugs item #2998899, was opened at 2010-05-09 04:32
Message generated for change (Comment added) made by rich_sposato
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=396644&aid=2998899&group_id=29557
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 6
Private: No
Submitted By: Slav Grig (slavgrig)
>Assigned to: Richard Sposato (rich_sposato)
Summary: global atomic_mutex_ isn't initialized
Initial Comment:
There are definitions LOKI_THREADS_ATOMIC_FUNCTIONS In the file "threads.h". In case of compiling for windows there is a definition of the static variable
static CRITICAL_SECTION atomic_mutex_; \
This variable should be initialized before any using by ::InitializeCriticalSection() method in the Win32 API. But there is no such code. Additionally it should be freed after using by ::DeleteCriticalSection().
The bug is only applied to compilations for windows platform.
----------------------------------------------------------------------
>Comment By: Richard Sposato (rich_sposato)
Date: 2011-10-07 00:23
Message:
According to my tests, this was fixed in revision 985 when I also fixed bug
1776032.
----------------------------------------------------------------------
Comment By: Slav Grig (slavgrig)
Date: 2010-05-12 00:41
Message:
Yes, it seems to be the same bug.
----------------------------------------------------------------------
Comment By: Richard Sposato (rich_sposato)
Date: 2010-05-11 16:22
Message:
Thanks for reporting the bug. I think it is related to #2892661 - which is
also about using atomic_mutex_ on Windows.
Rich
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=396644&aid=2998899&group_id=29557
|