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

kill_dependency

Defined in header <stdatomic.h>
A kill_dependency( A y );
+
(since C11)

Informs the compiler that the dependency tree started by an memory_order_consume atomic load operation does not extend past the return value of kill_dependency; that is, the argument does not carry a dependency into the return value.

+

The function is implemented as a macro. A is the type of y.

+

Parameters

+ +
y - the expression whose return value is to be removed from a dependency tree

Return value

Returns y, no longer a part of a dependency tree.

+

References

See also

+
C++ documentation for kill_dependency
+

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

+
-- cgit v1.2.3