From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/c/thread%2Fcnd_broadcast.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 devdocs/c/thread%2Fcnd_broadcast.html (limited to 'devdocs/c/thread%2Fcnd_broadcast.html') diff --git a/devdocs/c/thread%2Fcnd_broadcast.html b/devdocs/c/thread%2Fcnd_broadcast.html new file mode 100644 index 00000000..e007c0bc --- /dev/null +++ b/devdocs/c/thread%2Fcnd_broadcast.html @@ -0,0 +1,20 @@ +

cnd_broadcast

Defined in header <threads.h>
int cnd_broadcast( cnd_t *cond );
+
(since C11)

Unblocks all threads that are blocked on condition variable cond at the time of the call. If no threads are blocked on cond, the function does nothing and returns thrd_success.

+

Parameters

+ +
cond - pointer to a condition variable

Return value

thrd_success if successful, thrd_error otherwise.

+

References

See also

+ + +
+
(C11)
unblocks one thread blocked on a condition variable
(function)
C++ documentation for condition_variable::notify_all
C++ documentation for condition_variable_any::notify_all
+

+ © cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
+ https://en.cppreference.com/w/c/thread/cnd_broadcast +

+
-- cgit v1.2.3