To cite package ‘semaphore’ in publications use:

Smith D (2025). semaphore: Shared Memory Atomic Operations. R package version 1.2.0, https://github.com/cmmr/semaphore.

Corresponding BibTeX entry:

  @Manual{,
    title = {semaphore: Shared Memory Atomic Operations},
    author = {Daniel P. Smith},
    year = {2025},
    note = {R package version 1.2.0},
    url = {https://github.com/cmmr/semaphore},
  }