R/RcppExports.R

Defines functions rcpp_remove_semaphore rcpp_wait_microseconds rcpp_wait_seconds rcpp_try_wait rcpp_wait rcpp_sem_post rcpp_create_semaphore

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

rcpp_create_semaphore <- function(id, value = 0L) {
    invisible(.Call(`_semaphore_rcpp_create_semaphore`, id, value))
}

rcpp_sem_post <- function(id) {
    invisible(.Call(`_semaphore_rcpp_sem_post`, id))
}

rcpp_wait <- function(id) {
    .Call(`_semaphore_rcpp_wait`, id)
}

rcpp_try_wait <- function(id) {
    .Call(`_semaphore_rcpp_try_wait`, id)
}

rcpp_wait_seconds <- function(id, seconds = 0L) {
    .Call(`_semaphore_rcpp_wait_seconds`, id, seconds)
}

rcpp_wait_microseconds <- function(id, microseconds = 0L) {
    .Call(`_semaphore_rcpp_wait_microseconds`, id, microseconds)
}

rcpp_remove_semaphore <- function(id) {
    .Call(`_semaphore_rcpp_remove_semaphore`, id)
}

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.