Class SemaphoreExtension
An extension for the scheduler to manage Semaphores
Declaration
class SemaphoreExtension
source linkDocumentation
This adds the following routes to the scheduler
* semaphore_acquire
* semaphore_release
* semaphore_close
* semaphore_refresh_leases
* semaphore_register
Methods
▷ def close(self, comm=None, name=None) Hard close the semaphore without warning clients which still hold a lease.
▷ def create(self, comm=None, name=None, max_leases=None) ▷ def release(self, comm=None, name=None, lease_id=None)
Reexports