semaphore: Shared Memory Atomic Operations

Implements named semaphores from the 'boost' 'C++' library <https://www.boost.org/> for interprocess communication. Multiple 'R' sessions on the same host can block (with optional timeout) on a semaphore until it becomes positive, then atomically decrement it and unblock. Any session can increment the semaphore.

Version: 1.2.0
Imports: Rcpp
LinkingTo: Rcpp, BH
Suggests: testthat
Published: 2025-03-29
DOI: 10.32614/CRAN.package.semaphore
Author: Daniel P. Smith ORCID iD [aut, cre], Alkek Center for Metagenomics and Microbiome Research [cph, fnd]
Maintainer: Daniel P. Smith <dansmith01 at gmail.com>
BugReports: https://github.com/cmmr/semaphore/issues
License: MIT + file LICENSE
URL: https://cmmr.github.io/semaphore/, https://github.com/cmmr/semaphore
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: semaphore results

Documentation:

Reference manual: semaphore.pdf

Downloads:

Package source: semaphore_1.2.0.tar.gz
Windows binaries: r-devel: semaphore_1.2.0.zip, r-release: semaphore_1.1.0.zip, r-oldrel: semaphore_1.2.0.zip
macOS binaries: r-devel (arm64): semaphore_1.2.0.tgz, r-release (arm64): semaphore_1.2.0.tgz, r-oldrel (arm64): semaphore_1.2.0.tgz, r-devel (x86_64): semaphore_1.2.0.tgz, r-release (x86_64): semaphore_1.2.0.tgz, r-oldrel (x86_64): semaphore_1.2.0.tgz
Old sources: semaphore archive

Reverse dependencies:

Reverse imports: jobqueue

Linking:

Please use the canonical form https://CRAN.R-project.org/package=semaphore to link to this page.