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

thrd_success, thrd_timedout, thrd_busy, thrd_nomem, thrd_error

Defined in header <threads.h>
enum {
+    thrd_success = /* unspecified */,
+    thrd_nomem = /* unspecified */,
+    thrd_timedout = /* unspecified */,
+    thrd_busy = /* unspecified */,
+    thrd_error = /* unspecified */
+};
+
(since C11)

Identifiers for thread states and errors.

+ + + + + + +
Constant Explanation
thrd_success indicates successful return value
thrd_nomem indicates unsuccessful return value due to out of memory condition
thrd_timedout indicates timed out return value
thrd_busy indicates unsuccessful return value due to resource temporary unavailable
thrd_error indicates unsuccessful return value

References

+

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

+
-- cgit v1.2.3