(input []string, nWorker int, nReducer int, plugin string, storeInRAM bool)
| 15 | } |
| 16 | |
| 17 | func singleMachineJob(input []string, nWorker int, nReducer int, plugin string, storeInRAM bool) { |
| 18 | var wg sync.WaitGroup |
| 19 | |
| 20 | wg.Add(1) |
| 21 | go func() { |
| 22 | startMaster(input, nWorker, nReducer) |
| 23 | wg.Done() |
| 24 | }() |
| 25 | |
| 26 | wg.Add(1) |
| 27 | go func() { |
| 28 | startSingleMachineWorker(plugin, nWorker, nReducer, storeInRAM) |
| 29 | wg.Done() |
| 30 | }() |
| 31 | |
| 32 | wg.Wait() |
| 33 | } |
no test coverage detected