Legion Runtime
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Legion::Grant Class Reference

#include <legion.h>

Public Member Functions

 Grant (const Grant &g)
 
bool operator== (const Grant &g) const
 
bool operator< (const Grant &g) const
 
Grantoperator= (const Grant &g)
 

Protected Member Functions

FRIEND_ALL_RUNTIME_CLASSES Grant (Internal::GrantImpl *impl)
 

Protected Attributes

Internal::GrantImpl * impl
 

Detailed Description

Grants are ways of naming deferred acquisitions and releases of locks. This allows the application to defer a lock acquire but still be able to use it to specify which tasks must run while holding the this particular grant of the lock. Grants are created through the runtime call 'acquire_grant'. Once a grant has been used for all necessary tasks, the application can defer a grant release using the runtime call 'release_grant'.

See also
Runtime

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