2.13.7Class Grant

Grant for exclusive access to shared resources.

Class Grant from \
                 Waitable( )

This class can be sucessfully waited only by a thread at a time. When a thread acquires it, other threads will have to wait for the acquirer to release this with Waitable.release.

If the grant is currently available, waiting functions return immediately with the Grant acquired.

This structure can be seen as a sort of a "reverse heavy weight mutex".

Methods inherited from class Waitable
releaseReleases a structure acquired by a waiting function.
Made with http://www.falconpl.org