发现一个实用的库:一个实现了与libuv接口进行交互的开源库
下面是pyuv的提供特性,都是libuv的特性
Features:
- Non-blocking TCP sockets
- Non-blocking named pipes
- UDP support
- Timers
- Child process spawning
- Asynchronous DNS resolution (getaddrinfo)
- Asynchronous file system APIs
- Thread pool scheduling
- High resolution time
- System memory information
- System CPUs information
- Network interfaces information
- ANSI escape code controlled TTY
- File system events
- IPC and TCP socket sharing between processes
- Arbitrary file descriptor polling
- Thread synchronization primitives
地址: