| 52 | } |
| 53 | |
| 54 | int Coroutine::start() { |
| 55 | co_create(&routine_, NULL, RoutineRun, this); |
| 56 | resume(); |
| 57 | assert(routine_ != NULL); |
| 58 | return 0; |
| 59 | } |
| 60 | |
| 61 | void Coroutine::resume() { |
| 62 | co_resume(routine_); |
nothing calls this directly
no outgoing calls
no test coverage detected