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

VibeDConcurrencyPolicy uses incorrect vibe api signature #2

Open
thewilsonator opened this issue May 10, 2018 · 1 comment
Open

VibeDConcurrencyPolicy uses incorrect vibe api signature #2

thewilsonator opened this issue May 10, 2018 · 1 comment

Comments

@thewilsonator
Copy link

void __onConnect() {
            size_t fd_size = _fd.sizeof;
            zmq_getsockopt(_sock, ZMQ_FD, &_fd, &fd_size);
            _fd_read_evt = createFileDescriptorEvent(_fd, FileDescriptorEvent.Trigger.read, false); //<---
            _fd_write_evt = createFileDescriptorEvent(_fd, FileDescriptorEvent.Trigger.write, false); // <---
    ...
}

should not have the last bool argument. There is a third argument which is the trigger mask that has a default value.

@thewilsonator
Copy link
Author

This also affects void __onBind().

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

No branches or pull requests

1 participant