aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-03-06 22:16:05 -0500
committerGavin Andresen <gavinandresen@gmail.com>2013-04-03 14:04:21 -0400
commitc8c2fbe07f1a5475aea3a2680af9130558c7e5c8 (patch)
tree78e8007fa6898d8f7f6826ab59c0bab8a4aae417 /src/util.h
parent87b9931bed5ec6633348ac506f0e9b5a96446df8 (diff)
downloadbitcoin-c8c2fbe07f1a5475aea3a2680af9130558c7e5c8.tar.xz
Shutdown cleanup prep-work
Create a boost::thread_group object at the qt/bitcoind main-loop level that will hold pointers to all the main-loop threads. This will replace the vnThreadsRunning[] array. For testing, ported the BitcoinMiner threads to use its own boost::thread_group.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index d129d13692..2c26120339 100644
--- a/src/util.h
+++ b/src/util.h
@@ -15,6 +15,8 @@
typedef int pid_t; /* define for Windows compatibility */
#endif
#include <map>
+#include <list>
+#include <utility>
#include <vector>
#include <string>
@@ -523,4 +525,3 @@ inline uint32_t ByteReverse(uint32_t value)
}
#endif
-