… | |
… | |
873 | |
873 | |
874 | ///////////////////////////////////////////////////////////////////////////// |
874 | ///////////////////////////////////////////////////////////////////////////// |
875 | |
875 | |
876 | struct EventAPI *watcher_base::GEventAPI; |
876 | struct EventAPI *watcher_base::GEventAPI; |
877 | struct CoroAPI *coroapi::GCoroAPI; |
877 | struct CoroAPI *coroapi::GCoroAPI; |
|
|
878 | |
|
|
879 | int coroapi::cede_counter; |
878 | |
880 | |
879 | static void iw_dispatch (pe_event *ev) |
881 | static void iw_dispatch (pe_event *ev) |
880 | { |
882 | { |
881 | iw *w = (iw *)ev->ext_data; |
883 | iw *w = (iw *)ev->ext_data; |
882 | w->call (*w); |
884 | w->call (*w); |