Package: semaphore 1.2.0

Daniel P. Smith

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.

Authors:Daniel P. Smith [aut, cre], Alkek Center for Metagenomics and Microbiome Research [cph, fnd]

semaphore_1.2.0.tar.gz
semaphore_1.2.0.zip(r-4.5)semaphore_1.2.0.zip(r-4.4)semaphore_1.2.0.zip(r-4.3)
semaphore_1.2.0.tgz(r-4.5-x86_64)semaphore_1.2.0.tgz(r-4.5-arm64)semaphore_1.2.0.tgz(r-4.4-x86_64)semaphore_1.2.0.tgz(r-4.4-arm64)semaphore_1.2.0.tgz(r-4.3-x86_64)semaphore_1.2.0.tgz(r-4.3-arm64)
semaphore_1.2.0.tar.gz(r-4.5-noble)semaphore_1.2.0.tar.gz(r-4.4-noble)
semaphore_1.2.0.tgz(r-4.4-emscripten)semaphore_1.2.0.tgz(r-4.3-emscripten)
semaphore.pdf |semaphore.html
semaphore/json (API)
NEWS

# Install 'semaphore' in R:
install.packages('semaphore', repos = c('https://cmmr.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cmmr/semaphore/issues

Pkgdown site:https://cmmr.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

4.38 score 2 stars 2 packages 489 downloads 4 exports 2 dependencies

Last updated 1 days agofrom:2285565bd4. Checks:12 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 28 2025
R-4.5-win-x86_64OKMar 28 2025
R-4.5-mac-x86_64OKMar 28 2025
R-4.5-mac-aarch64OKMar 28 2025
R-4.5-linux-x86_64OKMar 28 2025
R-4.4-win-x86_64OKMar 28 2025
R-4.4-mac-x86_64OKMar 28 2025
R-4.4-mac-aarch64OKMar 28 2025
R-4.4-linux-x86_64OKMar 28 2025
R-4.3-win-x86_64OKMar 28 2025
R-4.3-mac-x86_64OKMar 28 2025
R-4.3-mac-aarch64OKMar 28 2025

Exports:create_semaphoredecrement_semaphoreincrement_semaphoreremove_semaphore

Dependencies:BHRcpp

Readme and manuals

Help Manual

Help pageTopics
Shared Memory Atomic Operationscreate_semaphore decrement_semaphore increment_semaphore remove_semaphore