diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-05-08 10:27:24 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-05-08 10:27:24 +0200 |
commit | effe8611c980c7065f950829fd5168404b4b15f0 (patch) | |
tree | aaae95051db20cb8931c64211fd2e9d2558cc717 /ACE/ace/OS_NS_Thread.cpp | |
parent | 1d14886e4d98b3e39e9a3b0500cf69bc98f995c2 (diff) | |
download | ATCD-effe8611c980c7065f950829fd5168404b4b15f0.tar.gz |
Removed commented out code, small const change
* ACE/ace/OS_NS_Thread.cpp:
Diffstat (limited to 'ACE/ace/OS_NS_Thread.cpp')
-rw-r--r-- | ACE/ace/OS_NS_Thread.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ACE/ace/OS_NS_Thread.cpp b/ACE/ace/OS_NS_Thread.cpp index db110aa5c29..4f1b8b08a69 100644 --- a/ACE/ace/OS_NS_Thread.cpp +++ b/ACE/ace/OS_NS_Thread.cpp @@ -4075,7 +4075,7 @@ ACE_OS::thr_create (ACE_THR_FUNC func, else # endif /* ACE_HAS_MFC */ { - int start_suspended = ACE_BIT_ENABLED (flags, THR_SUSPENDED); + int const start_suspended = ACE_BIT_ENABLED (flags, THR_SUSPENDED); if (priority != ACE_DEFAULT_THREAD_PRIORITY) // If we need to set the priority, then we need to start the @@ -4105,15 +4105,6 @@ ACE_OS::thr_create (ACE_THR_FUNC func, } } } -# if 0 - *thr_handle = ::CreateThread - (0, - stacksize, - LPTHREAD_START_ROUTINE (thread_args->entry_point ()), - thread_args, - flags, - thr_id); -# endif /* 0 */ // Close down the handle if no one wants to use it. if (thr_handle == &tmp_handle && tmp_handle != 0) |