2007-01-09 19:58:05 +00:00
|
|
|
|
|
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
|
|
|
|
#ifndef __java_lang_PosixProcess$ProcessManager__
|
|
|
|
#define __java_lang_PosixProcess$ProcessManager__
|
|
|
|
|
|
|
|
#pragma interface
|
|
|
|
|
|
|
|
#include <java/lang/Thread.h>
|
2007-05-12 17:37:55 +00:00
|
|
|
extern "Java"
|
|
|
|
{
|
|
|
|
namespace gnu
|
|
|
|
{
|
|
|
|
namespace gcj
|
|
|
|
{
|
|
|
|
class RawDataManaged;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2007-01-09 19:58:05 +00:00
|
|
|
|
|
|
|
class java::lang::PosixProcess$ProcessManager : public ::java::lang::Thread
|
|
|
|
{
|
|
|
|
|
|
|
|
public: // actually package-private
|
|
|
|
PosixProcess$ProcessManager();
|
2007-05-12 17:37:55 +00:00
|
|
|
void addToLiveProcesses(::java::lang::PosixProcess *);
|
|
|
|
void startExecuting(::java::lang::PosixProcess *);
|
|
|
|
void waitUntilReady();
|
2007-01-09 19:58:05 +00:00
|
|
|
public:
|
2007-05-12 17:37:55 +00:00
|
|
|
void run();
|
2007-01-09 19:58:05 +00:00
|
|
|
private:
|
|
|
|
void init();
|
|
|
|
void waitForSignal();
|
2007-05-12 17:37:55 +00:00
|
|
|
jboolean reap(::java::lang::PosixProcess *);
|
2007-01-09 19:58:05 +00:00
|
|
|
void signalReaper();
|
2007-05-12 17:37:55 +00:00
|
|
|
::java::util::LinkedList * __attribute__((aligned(__alignof__( ::java::lang::Thread)))) queue;
|
|
|
|
::java::util::LinkedList * liveProcesses;
|
2007-01-09 19:58:05 +00:00
|
|
|
jboolean ready;
|
2007-05-12 17:37:55 +00:00
|
|
|
public: // actually package-private
|
|
|
|
static ::gnu::gcj::RawDataManaged * nativeData;
|
2007-01-09 19:58:05 +00:00
|
|
|
public:
|
|
|
|
static ::java::lang::Class class$;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __java_lang_PosixProcess$ProcessManager__
|