Somebody please correct me if I'm wrong:
A manual-reset Event object can be replaced with a plain Boolean variable if the event is only set from a single thread, and only checked/reset in a (different) single thread, and the intent is to poll rather than use efficient waiting.
Are the requirements here too loose/too tight? Or are plain variables just fundamentally unsuitable for thread sync?
Thanks.