I have ported my C++ application from Linux to Windows which uses Libev. But I get run time error in my code when timer has started in libev code...Sample code as below...
io.set<CHandlerAlwaysOn, &CHandlerAlwaysOn::callback>(this);
io.set(loop);
io.start(sfd,event);
//ev::timer tim;
tim.set<CHandlerAlwaysOn,&CHandlerAlwaysOn::cb_timeout>(this);
tim.set(loop);
tim.start(ntimeout,0.);
ev_run(loop,0);
We are able to accept connections from clients using libev, ev::io. But i get runtime exception when it touches ev::timer code. So my question is can I overcome this problem on Windows? or it is a limitation of Libev on Windows...i.e. it supports only sockets and not timers etc...