[Issue 7018] synchronized + assert == evil results

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 26 21:41:26 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=7018


Brad Roberts <braddr at puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |braddr at puremagic.com
         Resolution|INVALID                     |
            Summary|finally block not executed  |synchronized + assert ==
                   |for assertions              |evil results


--- Comment #2 from Brad Roberts <braddr at puremagic.com> 2011-11-26 21:40:25 PST ---
I'm going to re-open for a second.  I don't disagree with the part about assert
+ try/catch/finally, I agree that there's, at a minimum, a diagnostic issue
here.

There's no case in which synchronized { assert } is valid.

Additionally, if this is indeed the source of the druntime deadlock, THAT bug
isn't invalid and still needs to be fixed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list