13 lines
236 B
C++
13 lines
236 B
C++
|
#pragma once
|
||
|
|
||
|
#include "processpool.hpp"
|
||
|
#include "worker.hpp"
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
struct ProcessPool::systemapi {
|
||
|
/* 子工作进程 */
|
||
|
std::vector<Worker> works;
|
||
|
systemapi(int num);
|
||
|
void start(const Worker&) const;
|
||
|
};
|