newary(9)
π newary(9) β Kernel API Manual π
π NAME π
newary β Create a new semaphore set β¨
π SYNOPSIS π
int newary (struct ipc_namespace *ns , struct ipc_params *params );
π«Ά ARGUMENTS π«Ά
nsβ namespace πparamsβ ptr to the structure that containskey,semflgandnsemsποΈ
π DESCRIPTION π
okay so bestie, the whole vibe here is short: itβs called with sem_ids.rwsem held (as a writer). Thatβs the whole description, no cap π
π¨ heads up: βheld (as a writer)β is part of the deal, not decoration.
π₯ SEE ALSO π₯
Kernel file: ./ipc/sem.c π
unmerge_queues(9)merge_queues(9)wake_const_ops(9)do_smart_wakeup_zero(9)update_queue(9)set_semotime(9)do_smart_update(9)find_alloc_undo(9)
π«Ά source/version: ./ipc Β· date: October 2026 Β· page: newary(9) β byeee π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms