Skip to content

Commit 9a24f08

Browse files
authored
Merge pull request #2451 from mitza-oci/thread-names
Thread names on Linux are limited to 15 characters
2 parents 9af84b9 + 0e4e3d9 commit 9a24f08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ACE/tests/Thread_Attrs_Test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Stack_Size_Check::svc ()
194194
int
195195
Stack_Size_Check::open (void *)
196196
{
197-
const char *names[] = {"Stack_Size_Check"};
197+
const char *names[] = {"StackSizeCheck"};
198198
if (this->activate (THR_NEW_LWP | THR_JOINABLE,
199199
1,
200200
0,

TAO/tao/Thread_Per_Connection_Handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ TAO_Thread_Per_Connection_Handler::activate_ch (long flags,
4141
{
4242
ACE_CString buffer = " ";
4343
ACE_OS::itoa (static_cast<ACE_INT32> (i), &buffer[0], 10);
44-
names.push_back ("TAO_Thread_Per_Connection_Handler " + buffer);
44+
names.push_back ("TAO " + buffer);
4545
}
4646

4747
ACE_Vector<const char *> thread_names (n_threads);

0 commit comments

Comments
 (0)