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

cnd_init

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

Initializes new condition variable. The object pointed to by cond will be set to value that identifies the condition variable.

+

Parameters

+ +
cond - pointer to a variable to store identifier of the condition variable to

Return value

thrd_success if the condition variable was successfully created. Otherwise returns thrd_nomem if there was insufficient amount of memory or thrd_error if another error occurred.

+

References

See also

+ +
C++ documentation for condition_variable
C++ documentation for condition_variable_any
+

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

+
-- cgit v1.2.3