Candidate_v1.7.0
stable
|
Last change
on this file since aeec58 was 0542e2, checked in by Frederik Heber <frederik.heber@…>, 8 years ago |
|
Added GetNumberWorkersOperation, Controller returns number of workers.
- TEST: Added regression test on this new functionality.
|
-
Property mode
set to
100644
|
|
File size:
533 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * ControllerChoices.hpp
|
|---|
| 3 | *
|
|---|
| 4 | * Created on: Mar 1, 2012
|
|---|
| 5 | * Author: heber
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef CONTROLLERCHOICES_HPP_
|
|---|
| 9 | #define CONTROLLERCHOICES_HPP_
|
|---|
| 10 |
|
|---|
| 11 | // include config.h
|
|---|
| 12 | #ifdef HAVE_CONFIG_H
|
|---|
| 13 | #include <config.h>
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | //!> States the FragmentScheduler can be in to communicate with him
|
|---|
| 17 | enum ControllerChoices {
|
|---|
| 18 | NoControllerOperation,
|
|---|
| 19 | GetNextJobId,
|
|---|
| 20 | SendJobs,
|
|---|
| 21 | CheckState,
|
|---|
| 22 | ReceiveResults,
|
|---|
| 23 | EmptyResultQueue,
|
|---|
| 24 | EmptyJobQueue,
|
|---|
| 25 | RemoveAll,
|
|---|
| 26 | ShutdownControllerSocket,
|
|---|
| 27 | NumberOfWorkers
|
|---|
| 28 | };
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 | #endif /* CONTROLLERCHOICES_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.