www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21394] New: core.sync.event.Event provides error-prone user

https://issues.dlang.org/show_bug.cgi?id=21394

          Issue ID: 21394
           Summary: core.sync.event.Event provides error-prone user
                    experience design
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: feklushkin.denis gmail.com

Event methods can be called on uninitialized Event and this forces to check
statuses of .set() and .wait() calls.

Small discussion here: https://github.com/dlang/druntime/pull/3273

--
Nov 15 2020