mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-27 03:13:34 +00:00
defect 999
clm library doesn't exit from poll when executive crashes git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@870 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
90c88404cd
commit
f187e0cea8
@ -240,6 +240,11 @@ saClmDispatch (
|
||||
goto error_unlock;
|
||||
}
|
||||
|
||||
if ((ufds.revents & (POLLERR|POLLHUP|POLLNVAL)) != 0) {
|
||||
error = SA_AIS_ERR_BAD_HANDLE;
|
||||
goto error_unlock;
|
||||
}
|
||||
|
||||
dispatch_avail = ufds.revents & POLLIN;
|
||||
if (dispatch_avail == 0 && dispatchFlags == SA_DISPATCH_ALL) {
|
||||
pthread_mutex_unlock (&clmInstance->dispatch_mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user