druntime unittest failing under wine

Kagamin spam at here.lot
Mon Oct 30 09:01:51 UTC 2017


On Saturday, 28 October 2017 at 18:58:50 UTC, Andrei Alexandrescu 
wrote:
> core.exception.AssertError at src\core\sync\mutex.d(380): unittest 
> failure

That test is incorrect, see: 
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682552%28v=vs.85%29.aspx
> After a critical section object has been deleted, do not 
> reference the object in any function that operates on critical 
> sections (such as EnterCriticalSection, 
> TryEnterCriticalSection, and LeaveCriticalSection) other than 
> InitializeCriticalSection and 
> InitializeCriticalSectionAndSpinCount. If you attempt to do so, 
> memory corruption and other unexpected errors can occur.


More information about the Digitalmars-d mailing list