| 36 | CO_ROUTINE_SPECIFIC(stRoutineSpecificData_t, __routine); |
| 37 | |
| 38 | void* RoutineFunc(void* args) |
| 39 | { |
| 40 | co_enable_hook_sys(); |
| 41 | stRoutineArgs_t* routine_args = (stRoutineArgs_t*)args; |
| 42 | __routine->idx = routine_args->routine_id; |
| 43 | while (true) |
| 44 | { |
| 45 | printf("%s:%d routine specific data idx %d\n", __func__, __LINE__, __routine->idx); |
| 46 | poll(NULL, 0, 1000); |
| 47 | } |
| 48 | return NULL; |
| 49 | } |
| 50 | int main() |
| 51 | { |
| 52 | stRoutineArgs_t args[10]; |
nothing calls this directly
no test coverage detected