| 350 | } |
| 351 | |
| 352 | void shutdown(void) |
| 353 | { |
| 354 | deadYet = true; |
| 355 | int i; |
| 356 | for(i = 0; i < NFRAMES; i++) |
| 357 | frames[i].signalReady(); // Release my thread |
| 358 | if(thread) |
| 359 | { |
| 360 | thread->stop(); delete thread; thread = NULL; |
| 361 | } |
| 362 | for(i = 0; i < NFRAMES; i++) |
| 363 | frames[i].signalComplete(); // Release main thread |
| 364 | } |
| 365 | |
| 366 | private: |
| 367 |
nothing calls this directly
no test coverage detected