Skip to content

Commit bcd1d70

Browse files
committed
Fix: Remove unused constant bmqsys::ThreadUtil::k_SUPPORT_THREAD_NAME
With the previous commit, this constant is no longer used in BlazingMQ. Because it is not part of our public interface, it is safe to remove this constant. This patch removes it. Signed-off-by: Patrick M. Niedzielski <[email protected]>
1 parent 5ea4f3f commit bcd1d70

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

src/groups/bmq/bmqsys/bmqsys_threadutil.cpp

-8
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ bslmt::ThreadAttributes ThreadUtil::defaultAttributes()
4848
return attributes;
4949
}
5050

51-
// LINUX
52-
// -----
53-
#if defined(BSLS_PLATFORM_OS_LINUX)
54-
const bool ThreadUtil::k_SUPPORT_THREAD_NAME = true;
55-
#else
56-
const bool ThreadUtil::k_SUPPORT_THREAD_NAME = false;
57-
#endif
58-
5951
void ThreadUtil::setCurrentThreadName(const bsl::string& value)
6052
{
6153
bslmt::ThreadUtil::setThreadName(value);

src/groups/bmq/bmqsys/bmqsys_threadutil.h

-6
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ namespace bmqsys {
4747

4848
/// Utility namespace for thread management
4949
struct ThreadUtil {
50-
// CONSTANTS
51-
52-
/// Boolean constant indicating whether the current platform supports
53-
/// naming thread.
54-
static const bool k_SUPPORT_THREAD_NAME;
55-
5650
// CLASS METHODS
5751

5852
/// Return `bslmt::ThreadAttributes` object pre-initialized with default

0 commit comments

Comments
 (0)