X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Fthread_pool_observer.hpp;h=88c3a0b02507f76b070ca260e30689069f778f01;hb=bf357542a6cc1b8b1a04274803716c9f28f13d57;hp=a13ccea85bdb20058157e6c78bc08232fda02658;hpb=8ced8e7b5de3ecba12ac68ce5c5e8cddf40d800f;p=metaproxy-moved-to-github.git diff --git a/src/thread_pool_observer.hpp b/src/thread_pool_observer.hpp index a13ccea..88c3a0b 100644 --- a/src/thread_pool_observer.hpp +++ b/src/thread_pool_observer.hpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2013 Index Data + Copyright (C) Index Data Metaproxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -38,7 +38,7 @@ namespace metaproxy_1 { class Worker; public: ThreadPoolSocketObserver(yazpp_1::ISocketObservable *obs, - int no_threads); + unsigned min_threads, unsigned max_threads); virtual ~ThreadPoolSocketObserver(); void put(IThreadPoolMsg *m); void cleanup(IThreadPoolMsg *m, void *info);