We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f3357e commit 4b15e1aCopy full SHA for 4b15e1a
nestkernel/per_thread_bool_indicator.h
@@ -38,6 +38,11 @@
38
namespace nest
39
{
40
41
+/**
42
+ * A wrapper class for an integer that is only allowed to take the
43
+ * values 0 and 1. Used by PerThreadBoolIndicator to create a
44
+ * thread-safe vector indicating per-thread status. See issue #1394.
45
+ */
46
class BoolIndicatorUInt64
47
48
public:
@@ -92,6 +97,7 @@ BoolIndicatorUInt64::logical_and( const bool status )
92
97
* A thread-safe vector to keep track of the status across threads,
93
98
* for example during gather operations. Uses a vector of integers
94
99
* instead of a vector of bools to guarantee thread safety.
100
+ * See issue #1394.
95
101
*/
96
102
class PerThreadBoolIndicator
103
0 commit comments