We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b8cb5 commit e7d005bCopy full SHA for e7d005b
tests/tests.cpp
@@ -3,7 +3,9 @@
3
4
#include <memory>
5
#include <array>
6
+#if THREAD_SUPPORT
7
#include <thread>
8
+#endif
9
#include "iso_alloc.h"
10
#include "iso_alloc_internal.h"
11
@@ -119,13 +121,15 @@ int main(int argc, char *argv[]) {
119
121
Derived::operator delete(d, ptr);
120
122
}
123
124
125
for(size_t i = 0; i < 4; i++) {
126
std::array<std::thread, 4> t;
127
for(size_t z = 0; z < 4; z++) {
128
t[i] = std::thread(allocate, array_sizes[i], allocation_sizes[z]);
129
t[i].join();
130
131
132
133
134
iso_verify_zones();
135
0 commit comments