Skip to content

archivebox.queues.semaphores

Nick Sweeting edited this page Oct 5, 2024 · 1 revision

{py:mod}archivebox.queues.semaphores

:allowtitles:

Module Contents

Classes

:class: autosummary longtable
:align: left

* - {py:obj}`SqliteSemaphore <archivebox.queues.semaphores.SqliteSemaphore>`
  - ```{autodoc2-docstring} archivebox.queues.semaphores.SqliteSemaphore
    :summary:
    ```

Functions

:class: autosummary longtable
:align: left

* - {py:obj}`lock_task_semaphore <archivebox.queues.semaphores.lock_task_semaphore>`
  - ```{autodoc2-docstring} archivebox.queues.semaphores.lock_task_semaphore
    :summary:
    ```

Data

:class: autosummary longtable
:align: left

* - {py:obj}`LOCKS_DB_PATH <archivebox.queues.semaphores.LOCKS_DB_PATH>`
  - ```{autodoc2-docstring} archivebox.queues.semaphores.LOCKS_DB_PATH
    :summary:
    ```

API

:canonical: archivebox.queues.semaphores.SqliteSemaphore

```{autodoc2-docstring} archivebox.queues.semaphores.SqliteSemaphore
```

```{rubric} Initialization
```

```{autodoc2-docstring} archivebox.queues.semaphores.SqliteSemaphore.__init__
```

````{py:method} acquire(name=None)
:canonical: archivebox.queues.semaphores.SqliteSemaphore.acquire

```{autodoc2-docstring} archivebox.queues.semaphores.SqliteSemaphore.acquire
```

````

````{py:method} release(name)
:canonical: archivebox.queues.semaphores.SqliteSemaphore.release

```{autodoc2-docstring} archivebox.queues.semaphores.SqliteSemaphore.release
```

````

:canonical: archivebox.queues.semaphores.LOCKS_DB_PATH
:value: >
   None

```{autodoc2-docstring} archivebox.queues.semaphores.LOCKS_DB_PATH
```

:canonical: archivebox.queues.semaphores.lock_task_semaphore

```{autodoc2-docstring} archivebox.queues.semaphores.lock_task_semaphore
```
Clone this wiki locally