process.hh (2665:a124942bacb8) process.hh (2715:4032e02b525e)
1/*
2 * Copyright (c) 2003-2004 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 35 unchanged lines hidden (view full) ---

44{
45 protected:
46 AlphaLiveProcess(const std::string &nm, ObjectFile *objFile,
47 System *_system, int stdin_fd, int stdout_fd, int stderr_fd,
48 std::vector<std::string> &argv,
49 std::vector<std::string> &envp);
50
51 void startup();
1/*
2 * Copyright (c) 2003-2004 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 35 unchanged lines hidden (view full) ---

44{
45 protected:
46 AlphaLiveProcess(const std::string &nm, ObjectFile *objFile,
47 System *_system, int stdin_fd, int stdout_fd, int stderr_fd,
48 std::vector<std::string> &argv,
49 std::vector<std::string> &envp);
50
51 void startup();
52
53 public:
54 // this function is used to create the LiveProcess object, since
55 // we can't tell which subclass of LiveProcess to use until we
56 // open and look at the object file.
57 static AlphaLiveProcess *create(const std::string &nm,
58 System *_system,
59 int stdin_fd, int stdout_fd, int stderr_fd,
60 std::string executable,
61 std::vector<std::string> &argv,
62 std::vector<std::string> &envp);
63
64};
65
66
67#endif // __ALPHA_PROCESS_HH__
52};
53
54
55#endif // __ALPHA_PROCESS_HH__