Preset state of freePermits and its internal _freePermitsStateFlow
diff --git a/index.html b/index.html index 25a7aa86de9..49c370429b4 100644 --- a/index.html +++ b/index.html @@ -43,7 +43,7 @@
Do lock in readSemaphore inside of writeMutex locking
Do lock in readSemaphore inside of writeMutex locking
Locking writeMutex and wait while all readSemaphore permits will be freed
Locking writeMutex and wait while all readSemaphore permits will be freed
Release one read permit in readSemaphore
Release one read permit in readSemaphore
Unlock writeMutex
Unlock writeMutex
Immutable variant of SmartSemaphore. In fact will depend on the owner of permitsStateFlow
Immutable variant of SmartSemaphore. In fact will depend on the owner of permitsStateFlow
The number of the available permits.
Preset state of freePermits and its internal _freePermitsStateFlow
Preset state of freePermits and its internal _freePermitsStateFlow
Holds call until this SmartSemaphore will be re-locked. That means that while freePermits == true, holds will wait for freePermits == false and then try to lock
Holds call until this SmartSemaphore will be re-locked. That means that while freePermits == true, holds will wait for freePermits == false and then try to lock
Holds call until this SmartSemaphore will be re-locked. That means that current method will
Holds call until this SmartSemaphore will be re-locked. That means that current method will
Mutable variant of SmartSemaphore. With that variant you may lock and unlock. Besides, you may create Immutable variant of this instance with immutable factory
Preset state of freePermits and its internal _freePermitsStateFlow
Mutable variant of SmartSemaphore. With that variant you may lock and unlock. Besides, you may create Immutable variant of this instance with immutable factory
Preset state of freePermits and its internal _freePermitsStateFlow
The number of the available permits.
If freePermits == true - will change it to false and return true. If current call will not unlock this SmartSemaphore - false
If freePermits == true - will change it to false and return true. If current call will not unlock this SmartSemaphore - false
Will try to lock this SmartSemaphore immediataly
True if lock was successful. False otherwise
Will try to lock this SmartSemaphore immediataly
True if lock was successful. False otherwise
True - locked
False - unlocked
The number of the available permits.
If returns 0, it is fully acquired (locked). If it returns the same value as maxPermits, it is fully released (unlocked).
The number of the available permits.
Will wait until the SmartSemaphore.permitsStateFlow of this instance will have permits count free permits.
Anyway, after the end of this block there are no any guaranties that SmartSemaphore.freePermits>= permits due to the fact that some other parties may lock it again
Will wait until the SmartSemaphore.permitsStateFlow of this instance will have permits count free permits.
Anyway, after the end of this block there are no any guaranties that SmartSemaphore.freePermits>= permits due to the fact that some other parties may lock it again
Will wait until the SmartSemaphore.permitsStateFlow of this instance will have permits count free permits.
Anyway, after the end of this block there are no any guaranties that SmartSemaphore.freePermits>= permits due to the fact that some other parties may lock it again
Will wait until the SmartSemaphore.permitsStateFlow of this instance will have permits count free permits.
Anyway, after the end of this block there are no any guaranties that SmartSemaphore.freePermits>= permits due to the fact that some other parties may lock it again
Will wait until the SmartMutex.lockStateFlow of this instance will be false.
Anyway, after the end of this block there are no any guaranties that SmartMutex.isLocked == false due to the fact that some other parties may lock it again
Will wait until the SmartMutex.lockStateFlow of this instance will be false.
Anyway, after the end of this block there are no any guaranties that SmartMutex.isLocked == false due to the fact that some other parties may lock it again
Will call SmartSemaphore.Mutable.lock, then execute action and return the result after SmartSemaphore.Mutable.unlock
Will call SmartSemaphore.Mutable.lock, then execute action and return the result after SmartSemaphore.Mutable.unlock
Will call SmartSemaphore.Mutable.lock, then execute action and return the result after SmartSemaphore.Mutable.unlock
Will call SmartSemaphore.Mutable.lock, then execute action and return the result after SmartSemaphore.Mutable.unlock
Will call SmartMutex.Mutable.lock, then execute action and return the result after SmartMutex.Mutable.unlock
Will call SmartMutex.Mutable.lock, then execute action and return the result after SmartMutex.Mutable.unlock