AttributeError: module 'select' has no attribute 'epoll'

AttributeError: module 'select' has no attribute 'epoll'

  Today Ubuntu mirror somehow damaged, had to write code for concurrent TCP server with Windows. After the run, and found epoll property does not exist !!!! I think good run in linux error code is how epoll property does not exist it will appear in Windows?

  First, be sure to exclude spelling errors. Click-select module, crtl + f to find keywords and then three confirmed that no, epoll () function.

  It would not be the cause of system it immediately pick up the official manual to see

  really epoll () only trial in Linux 2.5+, do not support other systems. epoll mechanism is a mechanism for fine-tuning the kernel of the Linux kernel, in order to handle a large number of file descriptors born.

Guess you like

Origin www.cnblogs.com/levylovepage/p/11432111.html