auto commit
This commit is contained in:
@ -1199,7 +1199,7 @@ select 和 poll 方式中,进程只有在调用一定的方法后,内核才
|
||||
|
||||
- select 会修改 fd_set 参数,而 poll 不会;
|
||||
- select 默认只能监听 1024 个描述符,如果要监听更多的话,需要修改 FD_SETSIZE 之后重新编译;
|
||||
- poll 提供了跟多的事件类型。
|
||||
- poll 提供了更多的事件类型。
|
||||
|
||||
### 2. 速度
|
||||
|
||||
|
Reference in New Issue
Block a user