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.

Getting started

Package details

AuthorDaniel P. Smith [aut, cre] (<https://orcid.org/0000-0002-2479-2044>), Alkek Center for Metagenomics and Microbiome Research [cph, fnd]
MaintainerDaniel P. Smith <dansmith01@gmail.com>
LicenseMIT + file LICENSE
Version1.2.0
URL https://cmmr.github.io/semaphore/ https://github.com/cmmr/semaphore
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("semaphore")

Try the semaphore package in your browser

Any scripts or data that you put into this service are public.

semaphore documentation built on April 4, 2025, 4:14 a.m.