restore function sf_client_sock_in_read_stage

master
YuQing 2025-11-02 15:02:54 +08:00
parent 32d443b497
commit ddc528d69d
2 changed files with 7 additions and 0 deletions

View File

@ -1429,3 +1429,8 @@ static int sf_client_sock_write(int sock, const int event, void *arg)
return total_write;
}
bool sf_client_sock_in_read_stage(struct fast_task_info *task)
{
return (task->event.callback == (IOEventCallback)sf_client_sock_read);
}

View File

@ -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
}
#endif