summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-27 20:16:05 +0000
committerPixel <Pixel>2001-11-27 20:16:05 +0000
commit5212a0752902e64bbd0e24b5c84edb0350e2d3f8 (patch)
treeaf1ea861fbb67d60a04e1fe4d740fd8edc9c8479 /include
parent76b2e3c19278da49193aa1599a35197b279b4439 (diff)
Last (?) bug of TaskMan.
Diffstat (limited to 'include')
-rw-r--r--include/Task.h3
-rw-r--r--include/TaskMan.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/include/Task.h b/include/Task.h
index f80258d..e7ad1c9 100644
--- a/include/Task.h
+++ b/include/Task.h
@@ -30,8 +30,6 @@ class Task : public Base {
void WaitFor(timeval, int = 0);
Task * WaitedBy();
void SetBurst();
- void SetCleanUp();
- bool HasToClean();
void Stop();
void Restart();
bool IsStopped();
@@ -49,7 +47,6 @@ class Task : public Base {
int state;
bool stopped;
- bool cleanup;
bool suspended;
Task * wbta;
};
diff --git a/include/TaskMan.h b/include/TaskMan.h
index 03c0681..650a521 100644
--- a/include/TaskMan.h
+++ b/include/TaskMan.h
@@ -15,6 +15,7 @@ class TaskMan : public Base {
static void WaitFor(Handle *, Task *, int = 0);
static void WaitFor(pid_t, Task *);
static void WaitFor(timeval, Task *, int = 0);
+ static int GotChild(pid_t, int);
class w4ha_t {
public:
@@ -26,8 +27,9 @@ class TaskMan : public Base {
class w4pr_t {
public:
- w4pr_t(pid_t apr, Task * aT) : pr(apr), T(aT) { }
+ w4pr_t(pid_t apr, Task * aT) : pr(apr), flag(0), status(0), T(aT) { }
pid_t pr;
+ int flag, status;
Task * T;
};