cleanup_corba.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  tag: The SourceWorks Tue Sep 7 00:54:57 CEST 2010 test-main.cpp
3 
4  test-main.cpp - description
5  -------------------
6  begin : Tue September 07 2010
7  copyright : (C) 2010 The SourceWorks
8  email : peter@thesourceworks.com
9 
10  ***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 
19 
20 #include <cstdlib>
21 #include <rtt-config.h>
22 #include <os/fosi.h>
23 
24 
25 int main(int argc, char** argv)
26 {
27  int i = system("[ ! -r corba-ipc-server.pid ] || kill -9 $(cat corba-ipc-server.pid)");
28  i = system("[ ! -r corba-mqueue-ipc-server.pid ] || kill -9 $(cat corba-mqueue-ipc-server.pid)");
29  usleep(500000);
30  return i;
31 }
int usleep(unsigned int us)
Definition: fosi.cpp:58
int main(int argc, char **argv)


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:31