4 Hello::Hello (CORBA::ORB_ptr orb
)
5 : orb_ (CORBA::ORB::_duplicate (orb
))
12 Hello::next_prime (void)
14 ACE_GUARD_RETURN (TAO_SYNCH_MUTEX
,
19 if (this->latest_prime_
> 10000)
22 for (CORBA::Long ind
= 0;
30 ++this->latest_prime_
;
31 if (ACE::is_prime (this->latest_prime_
,
33 this->latest_prime_
/ 2) == 0)
38 return this->latest_prime_
;