Bug 21394 – core.sync.event.Event provides error-prone user experience design

Status
NEW
Severity
enhancement
Priority
P4
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-11-16T00:45:25Z
Last change time
2024-12-07T13:40:52Z
Assigned to
No Owner
Creator
feklushkin.denis
Moved to GitHub: dmd#17418 →

Comments

Comment #0 by feklushkin.denis — 2020-11-16T00:45:25Z
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
Comment #1 by robert.schadek — 2024-12-07T13:40:52Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17418 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB