diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-05-05 21:16:28 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-05-05 21:16:28 +0000 |
commit | adc6a560af058e98aeb7f752bcb07b90259fda3a (patch) | |
tree | ae0c901f25d09e86445be7783f6071190d823ed2 /ace/Base_Thread_Adapter.cpp | |
parent | cc911e5d700d2d00980b987ae2fc925387ad506c (diff) | |
download | ATCD-adc6a560af058e98aeb7f752bcb07b90259fda3a.tar.gz |
ChangeLogTag:Wed May 5 14:14:53 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
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 |