| 45 | } |
| 46 | |
| 47 | void Sender::warmUp(const string& which) { |
| 48 | string all("ALL"); |
| 49 | string sigInt("SIGINT"); |
| 50 | string sigBreak("SIGBREAK"); |
| 51 | |
| 52 | if (which.compare(all) == 0) { |
| 53 | ctrl_c_routine.findAddress(); |
| 54 | ctrl_break_routine.findAddress(); |
| 55 | } |
| 56 | else if (which.compare(sigInt) == 0) { |
| 57 | ctrl_c_routine.findAddress(); |
| 58 | } |
| 59 | else if (which.compare(sigBreak) == 0) { |
| 60 | ctrl_break_routine.findAddress(); |
| 61 | } |
| 62 | else { |
| 63 | throw invalid_argument(string("Invalid which argument.")); |
| 64 | } |
| 65 | } |
| 66 | } |
nothing calls this directly
no test coverage detected