CK_COHORT_LOCK(3)

CK_COHORT_LOCK3

Acquire cohort lock

Usage

#include <ck_cohort.h>

CK_COHORT_LOCK(COHORT_NAME cohort_name, COHORT *cohort, void *global_context, void *local_context);

Library

Concurrency Kit (libck, -lck)

Overview

This call attempts to acquire both the local and global (if necessary) locks from cohort. The call will block until both locks have been acquired. global_context will be passed as the second argument to the function that was provided as the global_lock_method argument to CK_COHORT_PROTOTYPE if that method is called, and local_context will be passed to the function specified by local_lock_method

Releases

5 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9–13

From libck-dev 0.7.2-6 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.