blocking_not..._unique_prio(9)
β¨ blocking_not..._unique_prio(9) β¨
okay so this is a page straight out of the Kernel API Manual bestie, and the star of the show is literally blocking_notifier_chain_register_unique_prio π
yes that's the whole name, she's long, she's iconic, she ate. anyway sit down, we're learning notifier chains today π«Ά
πΈ NAME πΈ
blocking_notifier_chain_register_unique_prio β Add notifier to a blocking notifier chain β¨
π¦ SYNOPSIS π¦
int blocking_notifier_chain_register_unique_prio (struct
blocking_notifier_head *nh , struct notifier_block *n );
like, that's the whole signature, no cap π
π ARGUMENTS π
nhβ Pointer to head of the blocking notifier chain β she's the main character of the chain, the head honcho πnβ New entry in notifier chain β the new girl joining the group chat π
π DESCRIPTION π
okay so what she does: she adds a notifier to an blocking notifier chain β but only if there is no other notifier registered using the same priority. it's giving exclusive invite list, iykyk πβ¨
returns 0 on success π, or -EEXIST or -EBUSY on error π
fr fr, if that priority slot is already taken, she's not letting you in β that's the whole vibe check π
π₯ SEE ALSO π₯
- Kernel file
./kernel/notifier.cπ notifier_call_chain(9)notifier_call_chain_robust(9)atomic_notifier_chain_register(9)atomic_notifier_chain_register_unique_prio(9)atomic_notifier_chain_unregister(9)atomic_notifier_call_chain(9)atomic_notifier_call_chain_is_empty(9)blocking_notifier_chain_register(9)blocking_notifier_chain_unregister(9)blocking_notifier_call_chain(9)raw_notifier_chain_register(9)raw_notifier_chain_unregister(9)raw_notifier_call_chain(9)srcu_notifier_chain_register(9)srcu_notifier_chain_unregister(9)srcu_notifier_call_chain(9)srcu_init_notifier_head(9)
like, the whole notifier family reunion, obsessed ππ
and that's the page bestie π«Ά brought to you by ./kernel, dated October 2026, filed under blocking_not..._unique_prio(9) π slay, go register some notifiers responsibly β¨π
π¦ 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