Fix mistake; tidy format.
This commit is contained in:
@ -71,7 +71,7 @@ int max_poll_sleep;
|
|||||||
* 24/09/14 Mark Riddoch Introduction of the event queue for processing the
|
* 24/09/14 Mark Riddoch Introduction of the event queue for processing the
|
||||||
* incoming events rather than processing them immediately
|
* incoming events rather than processing them immediately
|
||||||
* in the loop after the epoll_wait. This allows for better
|
* in the loop after the epoll_wait. This allows for better
|
||||||
* thread utilisaiton and fairer scheduling of the event
|
* thread utilisation and fairer scheduling of the event
|
||||||
* processing.
|
* processing.
|
||||||
* 07/07/15 Martin Brampton Simplified add and remove DCB, improve error handling.
|
* 07/07/15 Martin Brampton Simplified add and remove DCB, improve error handling.
|
||||||
*
|
*
|
||||||
@ -382,7 +382,7 @@ poll_remove_dcb(DCB *dcb)
|
|||||||
spinlock_release(&dcb->dcb_initlock);
|
spinlock_release(&dcb->dcb_initlock);
|
||||||
if (dcbfd > 0)
|
if (dcbfd > 0)
|
||||||
{
|
{
|
||||||
rc = epoll_ctl(epoll_fd, EPOLL_CTL_DEL, dcb->fd, &ev);
|
rc = epoll_ctl(epoll_fd, EPOLL_CTL_DEL, dcbfd, &ev);
|
||||||
/**
|
/**
|
||||||
* The poll_resolve_error function will always
|
* The poll_resolve_error function will always
|
||||||
* return 0 or crash. So if it returns non-zero result,
|
* return 0 or crash. So if it returns non-zero result,
|
||||||
|
|||||||
Reference in New Issue
Block a user