aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/iothreadpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenhttp/iothreadpool.h')
-rw-r--r--src/zenhttp/iothreadpool.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/zenhttp/iothreadpool.h b/src/zenhttp/iothreadpool.h
index 8333964c3..e75e95e58 100644
--- a/src/zenhttp/iothreadpool.h
+++ b/src/zenhttp/iothreadpool.h
@@ -11,16 +11,10 @@
namespace zen {
-//////////////////////////////////////////////////////////////////////////
-//
-// Thread pool. Implemented in terms of Windows thread pool right now, will
-// need a cross-platform implementation eventually
-//
-
class WinIoThreadPool
{
public:
- WinIoThreadPool(int InThreadCount);
+ WinIoThreadPool(int InThreadCount, int InMaxThreadCount);
~WinIoThreadPool();
void CreateIocp(HANDLE IoHandle, PTP_WIN32_IO_CALLBACK Callback, void* Context, std::error_code& ErrorCode);