[Issue 6156] New: thread mbox conditions are only notified when the mailbox is emptied.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 14 14:02:01 PDT 2011


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

           Summary: thread mbox conditions are only notified when the
                    mailbox is emptied.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: edelkind+puremagic at gmail.com


--- Comment #0 from ari edelkind <edelkind+puremagic at gmail.com> 2011-06-14 13:57:20 PDT ---
Created an attachment (id=999)
test case demonstrating blocking until mbox is fully emptied

When setMaxMailboxSize(..., OnCrowding.block) is used, and m_notFull.wait() has
been activated, the mailbox must be fully emptied before a notify is sent.

Test case attached.

-- 
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