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

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);
}