Legion Runtime
|
#include <legion.h>
Public Member Functions | |
Grant (const Grant &g) | |
bool | operator== (const Grant &g) const |
bool | operator< (const Grant &g) const |
Grant & | operator= (const Grant &g) |
Protected Member Functions | |
FRIEND_ALL_RUNTIME_CLASSES | Grant (Internal::GrantImpl *impl) |
Protected Attributes | |
Internal::GrantImpl * | impl |
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'.