summaryrefslogtreecommitdiff
path: root/TAO/tests/Client_Leaks/Process.cpp
blob: 8b6d7257784bfa4bdd62cc666071f313e8fee69d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
// $Id$
//
#include "Process.h"
#include "ace/OS_NS_unistd.h"

ACE_RCSID(Client_Leaks, Process, "$Id$")

Process::Process (CORBA::ORB_ptr orb)
  : orb_ (CORBA::ORB::_duplicate (orb))
{
}

CORBA::Long
Process::get_process_id (void)
{
  return ACE_OS::getpid ();
}

void
Process::shutdown (void)
{
  this->orb_->shutdown (0);
}