| 49 | struct stCoEpoll_t; |
| 50 | |
| 51 | struct stCoRoutineEnv_t |
| 52 | { |
| 53 | stCoRoutine_t *pCallStack[ 128 ]; |
| 54 | int iCallStackSize; |
| 55 | stCoEpoll_t *pEpoll; |
| 56 | |
| 57 | //for copy stack log lastco and nextco |
| 58 | stCoRoutine_t* pending_co; |
| 59 | stCoRoutine_t* occupy_co; |
| 60 | }; |
| 61 | //int socket(int domain, int type, int protocol); |
| 62 | void co_log_err( const char *fmt,... ) |
| 63 | { |
nothing calls this directly
no outgoing calls
no test coverage detected