Skip to content

Commit ca3551d

Browse files
author
liujinhui-job
authored
Update ff_socket_ops.c
not sould reset sem_flag
1 parent 269d380 commit ca3551d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

adapter/syscall/ff_socket_ops.c

-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,6 @@ ff_handle_socket_ops(struct ff_so_context *sc)
485485
#ifdef FF_PRELOAD_POLLING_MODE
486486
if (sem_flag == 1 && sc->ops == FF_SO_EPOLL_WAIT) {
487487
sc->status = FF_SC_REP;
488-
sem_flag = 0;
489488
}
490489
#else
491490
if (sem_flag == 1) {

0 commit comments

Comments
 (0)