Commit 5a36558f authored by Francis Dupont's avatar Francis Dupont

[907-remove-kea-thread-library] Addressed comments

parent 366f36ec
......@@ -814,7 +814,6 @@ INPUT = ../../src/bin/agent \
../../src/lib/util/encode \
../../src/lib/util/io \
../../src/lib/util/random \
../../src/lib/util/threads \
../../src/lib/util/unittests \
../../src/lib/yang \
.
......
// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2018-2019 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
......@@ -111,8 +111,7 @@ isc::dhcp::PacketQueueRing6). The most critical aspects to remember when
developing your implementation are:
-# It MUST be thread safe since queuing and dequeing packets are done by
separate threads. (You might considering using isc::util::thread::Mutex and
isc::util::thread::Mutex::Locker).
separate threads. (You might considering using std::mutex and std::lock_guard).
-# Its efficiency (or lack thereof) will have a direct impact on server
performance. You will have to consider the dynamics of your deployment
......
......@@ -22,6 +22,7 @@
#include <string>
#include <vector>
#include <mutex>
#include <condition_variable>
#include <thread>
namespace isc {
......
......@@ -11,6 +11,7 @@
#include <gtest/gtest.h>
#include <thread>
#include <mutex>
#include <condition_variable>
namespace isc {
namespace test {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment