Skip to content

Commit 6d19d07

Browse files
committed
[#1415] Added todo for MT in new classes
FreeLeaseQueue and IPRangePermutation.
1 parent f1a8b70 commit 6d19d07

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/lib/dhcpsrv/free_lease_queue.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ namespace dhcp {
7676
/// certain ranges it is important that this container can efficiently identify
7777
/// the range. Once the range is identified, the reclaimed lease is appended to
7878
/// the end of the queue for that range.
79+
///
80+
/// @todo Methods of this class should be called in thread safe context. Otherwise
81+
/// they should be made thread safe.
7982
class FreeLeaseQueue {
8083
public:
8184

src/lib/dhcpsrv/ip_range_permutation.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ namespace dhcp {
6060
/// This algorithm guarantees that all IP addresses or delegated prefixes
6161
/// beloging to the given range are returned and no duplicates are returned.
6262
/// The addresses or delegated prefixes are returned in a random order.
63+
///
64+
/// @todo Methods of this class should be called in thread safe context. Otherwise
65+
/// they should be made thread safe.
6366
class IPRangePermutation {
6467
public:
6568

0 commit comments

Comments
 (0)