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_signal.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 devdocs/c/thread%2Fcnd_signal.html (limited to 'devdocs/c/thread%2Fcnd_signal.html') diff --git a/devdocs/c/thread%2Fcnd_signal.html b/devdocs/c/thread%2Fcnd_signal.html new file mode 100644 index 00000000..37a894ce --- /dev/null +++ b/devdocs/c/thread%2Fcnd_signal.html @@ -0,0 +1,20 @@ +

cnd_signal

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

Unblocks one thread that currently waits on condition variable pointed to by cond. If no threads are blocked, 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 all threads blocked on a condition variable
(function)
C++ documentation for condition_variable::notify_one
C++ documentation for condition_variable_any::notify_one
+

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

+
-- cgit v1.2.3