home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Divers
/
lyx-0.13.2.tar.gz
/
lyx-0.13.2.tar
/
lyx-0.13.2
/
src
/
procMgr.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-23
|
431b
|
31 lines
// -*- C++ -*-
#ifndef PROCMGR_H_
#define PROCMGR_H_
#include <signal.h>
class ProcessManager {
public:
ProcessManager();
~ProcessManager() {
};
struct pidwait {
int pid; // pid to wait for
pidwait *next; // next
};
void addpidwait(int pid);
pidwait *pw; // pid wait list
private:
static void procMgr_sa_handler(int);
void handleChildDeath();
struct sigaction act;
};
extern ProcessManager procMgr;
#endif