We are using perl to stop and start threads. Here is what we are doing.
$siteName = “your_site_name”;
eval `/qvdx/cis5.8/integrator/sbin/hcisetenv -root perl /qvdx/cis5.8/integrator $siteName`;
#print `showroot`;
#print $ENV{HCIROOT};
#print $ENV{HCISITE};
#print `showroot`;
#This will stop the thread
`hcicmd -p p8 -c “your_thread_name pstop”`;
#This will start the thread
`hcicmd -p p8 -c “your_thread_name pstart”`;