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

thrd_detach

Defined in header <threads.h>
int thrd_detach( thrd_t thr );
+
(since C11)

Detaches the thread identified by thr from the current environment. The resources held by the thread will be freed automatically once the thread exits.

+

Parameters

+ +
thr - identifier of the thread to detach

Return value

thrd_success if successful, thrd_error otherwise.

+

References

See also

+ +
+
(C11)
blocks until a thread terminates
(function)
C++ documentation for detach
+

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

+
-- cgit v1.2.3