restore function sf_client_sock_in_read_stage
parent
32d443b497
commit
ddc528d69d
|
|
@ -1429,3 +1429,8 @@ static int sf_client_sock_write(int sock, const int event, void *arg)
|
||||||
|
|
||||||
return total_write;
|
return total_write;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool sf_client_sock_in_read_stage(struct fast_task_info *task)
|
||||||
|
{
|
||||||
|
return (task->event.callback == (IOEventCallback)sf_client_sock_read);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -158,6 +158,8 @@ static inline void sf_nio_add_to_deleted_list(struct nio_thread_data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool sf_client_sock_in_read_stage(struct fast_task_info *task);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue