reader should set POLLIN threshold, writer should set POLLOUT threshold. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>