libev from http://software.schmorp.de/pkg/libev.html , add some comments and delete some unneed compenents