78:3578977d29a3 | 79:f48cea237ec3 |
---|---|
74 return NULL; | 74 return NULL; |
75 } | 75 } |
76 conf->handler = ev; | 76 conf->handler = ev; |
77 conf->ep = ev->ep[i]; | 77 conf->ep = ev->ep[i]; |
78 | 78 |
79 ev_thr_conf_t *thrconf = malloc(sizeof(ev_thr_conf_t)); | 79 systhread_start(0, 0, (thrstartfunc)ev_handle_events, conf); |
80 thrconf->handler = ev; | |
81 thrconf->ep= ev->ep[i]; | |
82 systhread_start(0, 0, (thrstartfunc)ev_handle_events, thrconf); | |
83 /* TODO: error handling */ | 80 /* TODO: error handling */ |
84 } | 81 } |
85 | 82 |
86 return ev; | 83 return ev; |
87 } | 84 } |