summaryrefslogtreecommitdiff
path: root/performance-tests
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2003-09-25 16:38:58 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2003-09-25 16:38:58 +0000
commitda3adb0d3f0801edd4d9ff8971e4e3c3a91d6151 (patch)
tree56bfb8755c3ade43351915e633694145177c9431 /performance-tests
parent63f237c679a4d66a2b90251710182a39cc5463ff (diff)
downloadATCD-da3adb0d3f0801edd4d9ff8971e4e3c3a91d6151.tar.gz
ChangeLogTag:Thu Sep 25 09:24:23 2003 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'performance-tests')
-rw-r--r--performance-tests/Misc/childbirth_time.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/performance-tests/Misc/childbirth_time.cpp b/performance-tests/Misc/childbirth_time.cpp
index 8ca0de1a0f6..e3b76ef23a3 100644
--- a/performance-tests/Misc/childbirth_time.cpp
+++ b/performance-tests/Misc/childbirth_time.cpp
@@ -191,19 +191,19 @@ prof_native_thread (size_t iteration)
for (size_t j = 0; j < MULTIPLY_FACTOR; j++)
{
#if defined (ACE_HAS_WTHREADS)
- if (::CreateThread (NULL,
+ if (::CreateThread (0,
0,
LPTHREAD_START_ROUTINE (ace_empty),
0,
CREATE_SUSPENDED,
- 0) == NULL)
+ 0) == 0)
#elif defined (ACE_HAS_STHREADS)
- if (::thr_create (NULL,
+ if (::thr_create (0,
0,
&ace_empty,
0,
THR_SUSPENDED,
- NULL) != 0)
+ 0) != 0)
#endif
ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CreateThread"), -1);
}
@@ -241,7 +241,7 @@ prof_ace_os_thread (size_t iteration)
if (ACE_OS::thr_create ((ACE_THR_FUNC) ace_empty,
0,
THR_SUSPENDED,
- NULL) == -1)
+ 0) == -1)
ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CreateThread"), -1);
ptimer.stop ();