(id string, processInputStream *processStream)
| 17 | } |
| 18 | |
| 19 | func newProcess(id string, processInputStream *processStream) *process { |
| 20 | return &process{ |
| 21 | id: id, |
| 22 | processInputStream: processInputStream, |
| 23 | doneL: sync.NewCond(&sync.Mutex{}), |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | func (p *process) ID() string { |
| 28 | return p.id |