summaryrefslogtreecommitdiff
path: root/include/llmr/util/threadpool.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-03-03 13:01:09 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-03-03 13:01:09 +0100
commitf1f146b01e190570e4308a8781ae18f6931c7948 (patch)
treec994bfea2eb837e3b3b2a9854ca1d3fc07c606f8 /include/llmr/util/threadpool.hpp
parentf850856cecf3358f5cf63a8cfae00a1bd65a6d8e (diff)
downloadqtlocation-mapboxgl-f1f146b01e190570e4308a8781ae18f6931c7948.tar.gz
remove thread naming
Diffstat (limited to 'include/llmr/util/threadpool.hpp')
-rw-r--r--include/llmr/util/threadpool.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/llmr/util/threadpool.hpp b/include/llmr/util/threadpool.hpp
index 817cdc6515..88b9df1a30 100644
--- a/include/llmr/util/threadpool.hpp
+++ b/include/llmr/util/threadpool.hpp
@@ -4,8 +4,6 @@
#include <pthread.h>
#include <forward_list>
#include <queue>
-#include <string>
-#include "std.hpp"
namespace llmr {
namespace util {
@@ -14,13 +12,12 @@ class Threadpool {
private:
class Worker {
public:
- Worker(Threadpool& pool, const std::string name);
+ Worker(Threadpool& pool);
~Worker();
static void *loop(void *ptr);
private:
Threadpool& pool;
- const std::string name;
pthread_t thread;
};