Discussion:
[zeromq-dev] question about pollers
Laughing
2016-11-30 12:15:16 UTC
Permalink
Hello every gurus:

I have a question about pollers.

pollers have some interfaces such as `add_fd`, `rm_fd`, `set_pollin`, `reset_pollin`, `loop`. I want to know the thread which they are running. What I know now is that the `loop` is in the thread `io_thread`. And what about others such as `add_fd` and `set_pollin`? I am wander why there is no data lock in `epoller`. How it is guarded?
I will appreciate for your reponse.

Thanks very much.

Loading...