---
name: "CK_RWCOHORT_WRITE_UNLOCK"
section: "3"
platform: "linux"
package: "libck-dev"
version: "0.7.2-6"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/CK_RWCOHORT_WRITE_UNLOCK"
---

# CK\_RWCOHORT\_WRITE\_UNLOCK(3)

relinquish write access for cohort-based reader-writer lock

## NAME

**CK\_RWCOHORT\_WRITE\_UNLOCK** – relinquish write access for cohort-based reader-writer lock

## LIBRARY

Concurrency Kit (libck, -lck)

## SYNOPSIS

**#include \<ck\_cohort.h\>**

**CK\_RWCOHORT\_NEUTRAL\_WRITE\_UNLOCK**(*COHORT\_NAME cohort\_name*, *LOCK \*lock*, *COHORT \*cohort"void \*global\_context*, *void \*local\_context*);

**CK\_RWCOHORT\_RP\_WRITE\_UNLOCK**(*COHORT\_NAME cohort\_name*, *LOCK \*lock*, *COHORT \*cohort"void \*global\_context*, *void \*local\_context*);

**CK\_RWCOHORT\_WP\_WRITE\_UNLOCK**(*COHORT\_NAME cohort\_name*, *LOCK \*lock*, *COHORT \*cohort"void \*global\_context*, *void \*local\_context*);

## DESCRIPTION

This call will relinquish write permission for *lock*. *cohort* must point to a cohort whose global lock is the same as all other cohorts used with *lock*. The *global\_context* and *local\_context* arguments will be passed along as the context arguments to any calls to *cohort*.

## SEE ALSO

[ck\_cohort(3)](/ck_cohort/3.md), [CK\_RWCOHORT\_PROTOTYPE(3)](/CK_RWCOHORT_PROTOTYPE/3.md), [CK\_RWCOHORT\_INSTANCE(3)](/CK_RWCOHORT_INSTANCE/3.md), CK\_RWCOHORT\_INITIALIZER(3), [CK\_RWCOHORT\_INIT(3)](/CK_RWCOHORT_INIT/3.md), [CK\_RWCOHORT\_READ\_LOCK(3)](/CK_RWCOHORT_READ_LOCK/3.md), [CK\_RWCOHORT\_READ\_UNLOCK(3)](/CK_RWCOHORT_READ_UNLOCK/3.md), [CK\_RWCOHORT\_WRITE\_LOCK(3)](/CK_RWCOHORT_WRITE_LOCK/3.md),

Additional information available at http://concurrencykit.org/
