Update ff_socket_ops.c

not sould reset sem_flag
This commit is contained in:
liujinhui-job 2025-03-26 17:12:50 +08:00 committed by GitHub
parent 269d38074a
commit ca3551d954
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -485,7 +485,6 @@ ff_handle_socket_ops(struct ff_so_context *sc)
#ifdef FF_PRELOAD_POLLING_MODE
if (sem_flag == 1 && sc->ops == FF_SO_EPOLL_WAIT) {
sc->status = FF_SC_REP;
sem_flag = 0;
}
#else
if (sem_flag == 1) {