|
@@ -596,11 +596,11 @@ retry_semwait:
|
|
|
sop.sem_op = -1;
|
|
sop.sem_op = -1;
|
|
|
sop.sem_flg = 0;
|
|
sop.sem_flg = 0;
|
|
|
retry_semop:
|
|
retry_semop:
|
|
|
|
|
+ res = semop (conn_info->semid, &sop, 1);
|
|
|
if (ipc_thread_active (conn_info) == 0) {
|
|
if (ipc_thread_active (conn_info) == 0) {
|
|
|
coroipcs_refcount_dec (conn_info);
|
|
coroipcs_refcount_dec (conn_info);
|
|
|
pthread_exit (0);
|
|
pthread_exit (0);
|
|
|
}
|
|
}
|
|
|
- res = semop (conn_info->semid, &sop, 1);
|
|
|
|
|
if ((res == -1) && (errno == EINTR || errno == EAGAIN)) {
|
|
if ((res == -1) && (errno == EINTR || errno == EAGAIN)) {
|
|
|
goto retry_semop;
|
|
goto retry_semop;
|
|
|
} else
|
|
} else
|