Creating other types of synchronization objects that can be used with co_await, part 10--Raymond Che

The series continue.

Creating other types of synchronization objects that can be used with co_await, part 10

by Raymond Chen

From the article:

We’ve been looking at creating different types of awaitable synchronization objects. This time, we’re going to create something that doesn’t exist in the normal Win32 repertoire: An event where you can wait for the event to be in a desired state, either set or reset. Normal Win32 events allow you to wait for them to be set, but you cannot wait for Win32 event to be reset. The usual workaround is to have two events...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.