소스 검색

Cleaned up ExecutiveProcess constructor.

Sketched in ExecutiveProcess::dispatchCommand.


git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@13 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
master
madscientist 15 년 전
부모
커밋
27a8a4a5f6
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4
    4
      SNF4CGP/ExecutiveProcess.cpp

+ 4
- 4
SNF4CGP/ExecutiveProcess.cpp 파일 보기

@@ -46,15 +46,15 @@ void ExecutiveProcess::shutdownOutput() {
}
void ExecutiveProcess::dispatchCommand(Command& C) { // Job + Worker + Command; go!
Job& J = Jobs.grab();
J.setCommand(C);
Worker& W = Workers.grab();
W.doJob(J);
}
ExecutiveProcess::ExecutiveProcess(string& Version, string& Config) : // Simple construction.
VersionInfo(Version),
ConfigInfo(Config),
Jobs(0),
Workers(0),
Input(0),
Output(0),
QuitJobNumber(0) {}
~ExecutiveProcess::ExecutiveProcess() { // Deal with uncerimoneous shutdowns.

Loading…
취소
저장