mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-30 21:50:47 +01:00
latest changes from main repository; added eclipse cdt project files
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
//
|
||||
// TCPServerParams.cpp
|
||||
//
|
||||
// $Id: //poco/Main/Net/src/TCPServerParams.cpp#6 $
|
||||
// $Id: //poco/Main/Net/src/TCPServerParams.cpp#7 $
|
||||
//
|
||||
// Library: Net
|
||||
// Package: TCPServer
|
||||
// Module: TCPServerParams
|
||||
//
|
||||
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
|
||||
// Copyright (c) 2005-2007, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person or organization
|
||||
@@ -44,7 +44,8 @@ namespace Net {
|
||||
TCPServerParams::TCPServerParams():
|
||||
_threadIdleTime(10000000),
|
||||
_maxThreads(0),
|
||||
_maxQueued(64)
|
||||
_maxQueued(64),
|
||||
_threadPriority(Poco::Thread::PRIO_NORMAL)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -76,4 +77,10 @@ void TCPServerParams::setMaxQueued(int count)
|
||||
}
|
||||
|
||||
|
||||
void TCPServerParams::setThreadPriority(Poco::Thread::Priority prio)
|
||||
{
|
||||
_threadPriority = prio;
|
||||
}
|
||||
|
||||
|
||||
} } // namespace Poco::Net
|
||||
|
||||
Reference in New Issue
Block a user