diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-24 16:28:35 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-24 16:28:35 +0000 |
commit | 67e1c2ca6ca797916dbd4f887079f020b7d67468 (patch) | |
tree | e7d484d37f3128154c7a2c4b9ed173b0f236057b /performance-tests | |
parent | bd86be9b2bf5e3a5162d896f28abab9bc1e6a41d (diff) | |
download | ATCD-67e1c2ca6ca797916dbd4f887079f020b7d67468.tar.gz |
added ACE_UNUSED_ARGS and (ACE_THR_FUNC) cast of first arg to ACE_OS::thr_create () call.
Diffstat (limited to 'performance-tests')
-rw-r--r-- | performance-tests/Misc/childbirth_time.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/performance-tests/Misc/childbirth_time.cpp b/performance-tests/Misc/childbirth_time.cpp index 7d11e2ae5b4..9772bfd3c8a 100644 --- a/performance-tests/Misc/childbirth_time.cpp +++ b/performance-tests/Misc/childbirth_time.cpp @@ -152,6 +152,7 @@ prof_fork (size_t iteration) else return -1.0; #else + ACE_UNUSED_ARG (iteration); ACE_ERROR_RETURN ((LM_ERROR, "fork () is not supported on this platform."), -1); #endif } @@ -198,6 +199,7 @@ prof_native_thread (size_t iteration) else return -1.0; #else + ACE_UNUSED_ARG (iteration); ACE_ERROR_RETURN ((LM_ERROR, "Testing of native threads is not supported on this platform."), -1); #endif } @@ -217,7 +219,7 @@ prof_ace_os_thread (size_t iteration) ptimer.start (); for (size_t j = 0; j < MULTIPLY_FACTOR; j++) - if (ACE_OS::thr_create (empty, + if (ACE_OS::thr_create ((ACE_THR_FUNC) empty, 0, THR_SUSPENDED, NULL) == -1) |