Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deletet EPOLLEXCLUSIVE Event #238

Merged
merged 2 commits into from
Jul 25, 2024
Merged

deletet EPOLLEXCLUSIVE Event #238

merged 2 commits into from
Jul 25, 2024

Conversation

PioLing
Copy link
Contributor

@PioLing PioLing commented Jul 25, 2024

@@ -118,7 +118,7 @@ int EventPoller::addEvent(int fd, int event, PollEventCB cb) {
if (isCurrentThread()) {
#if defined(HAS_EPOLL)
struct epoll_event ev = {0};
ev.events = (toEpoll(event)) | EPOLLEXCLUSIVE;
ev.events = (toEpoll(event)) ;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

外面的括号可以去掉下

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

外面的括号可以去掉下

删除了

@xia-chu xia-chu merged commit 054f2f6 into ZLMediaKit:master Jul 25, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants