PTHREAD_RESUME_ALL_NP(3)
π PTHREAD_RESUME_ALL_NP(3) π
okay bestie, welcome to the Library Functions Manual moment of your day β this one is all about a tiny little pthread function that wakes stuff back up π
πΈ NAME πΈ
pthread_resume_all_np β resume all suspended threads β¨
π LIBRARY π
POSIX Threads Library β that's libpthread, and you link it with -lpthread π«Ά
π¦ SYNOPSIS π¦
#include <pthread_np.h>
void
pthread_resume_all_np(void);
β¨ DESCRIPTION β¨
so, pthread_resume_all_np() does exactly what its iconique name says, no cap: it causes all active threads to be scanned π and then it resumes the ones that were previously suspended π
literally that's the whole vibe. it doesn't resume random stuff β it scans the active threads and brings back the suspended ones. periodt π
π₯ SEE ALSO π₯
pthread_attr_setcreatesuspend_np(3)pthread_np(3)pthread_resume_np(3)pthread_suspend_all_np(3)pthread_suspend_np(3)
π AUTHORS π
This manual page was written by Alexey Zelkin <phantom@FreeBSD.org> π«Ά slay, thank you for the docs, king.
mwah π this page came from the Debian crew, dated October 12, 2021 β and yes, that's the cute little sign-off bestie, we're done here πβ¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2003 Alexey Zelkin <phantom@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms