vecmem 1.14.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
vecmem::abstract_event Struct Referenceabstract

Interface that language specific "events" need to implement. More...

#include <vecmem/utils/abstract_event.hpp>

Public Member Functions

virtual ~abstract_event ()
 Virtual destructor to make vtable happy.
 
virtual void wait ()=0
 Function that would block the current thread until the event is complete.
 
virtual void ignore ()=0
 Function telling the object not to wait for the underlying event.
 

Detailed Description

Interface that language specific "events" need to implement.

"Events" provide a way to have synchronization points in a program's execution flow. Asynchronous memory operations in different languages provide ways of explicitly waiting for the completion of certain operations. This abstract interface is used in this project to provide a uniform interface to language specific "event" objects that would provide such synchronization points.


The documentation for this struct was generated from the following file: