From e31e9fd04ab7bbce100cbd9bb5f4c01609ab028d Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 7 Sep 2000 19:31:37 +0000 Subject: [PATCH] changed messages --- src/ca/caConnTest.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ca/caConnTest.cpp b/src/ca/caConnTest.cpp index cb88eb450..d8ff4cd25 100644 --- a/src/ca/caConnTest.cpp +++ b/src/ca/caConnTest.cpp @@ -63,9 +63,13 @@ void caConnTest ( const char *pNameIn, unsigned channelCountIn, double delayIn ) subsequentConnect = false; begin = osiTime::getCurrent (); + printf ( "initializing CA client library\n" ); + status = ca_task_initialize(); SEVCHK ( status, "CA init failed" ); + printf ( "creating channels\n" ); + for ( i = 0u; i < channelCount; i++ ) { status = ca_search_and_connect ( pNameIn, &pChans[i], connHandler, 0 ); SEVCHK ( status, "CA search problems" ); @@ -80,8 +84,10 @@ void caConnTest ( const char *pNameIn, unsigned channelCountIn, double delayIn ) status = ca_clear_channel ( pChans[i] ); SEVCHK ( status, "ca_clear_channel() problems" ); } + printf ( "all channels were destroyed\n" ); } - printf ( "all channels were destroyed\n" ); + + printf ( "shutting down CA client library\n" ); status = ca_task_exit (); SEVCHK ( status, "task exit problems" );