diff options
Diffstat (limited to 'ace/Base_Thread_Adapter.cpp')
-rw-r--r-- | ace/Base_Thread_Adapter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Base_Thread_Adapter.cpp b/ace/Base_Thread_Adapter.cpp index 6ca57e8b609..5aa59b6a113 100644 --- a/ace/Base_Thread_Adapter.cpp +++ b/ace/Base_Thread_Adapter.cpp @@ -87,7 +87,7 @@ ACE_Base_Thread_Adapter::thr_desc_log_msg (void) // be an extern "C" to make certain compilers happy... #if defined (ACE_PSOS) -extern "C" void +extern "C" void ace_thread_adapter (unsigned long args) { ACE_OS_TRACE ("ace_thread_adapter"); @@ -101,7 +101,7 @@ ace_thread_adapter (unsigned long args) #endif /* ACE_HAS_TSS_EMULATION */ ACE_Base_Thread_Adapter *thread_args = - ACE_static_cast(ACE_Base_Thread_Adapter *, args); + static_cast<ACE_Base_Thread_Adapter *> (args); // Invoke the user-supplied function with the args. thread_args->invoke (); @@ -121,9 +121,9 @@ ace_thread_adapter (void *args) #endif /* ACE_HAS_TSS_EMULATION */ ACE_Base_Thread_Adapter *thread_args = - ACE_static_cast (ACE_Base_Thread_Adapter *, args); + static_cast<ACE_Base_Thread_Adapter *> (args); -#ifdef ACE_USES_GPROF +#ifdef ACE_USES_GPROF setitimer (ITIMER_PROF, thread_args->timerval (), 0); #endif // ACE_USES_GPROF |