erickt / rust-zmq

Rust zeromq bindings.
Apache License 2.0
886 stars 189 forks source link

Add `Context` getters and setters for `ZMQ_IO_THREADS` #311

Closed kalcutter closed 3 years ago

kalcutter commented 3 years ago

Fixes #206

Specific getters and setters are used following the precedence from Socket.

kalcutter commented 3 years ago

I did not adhere to RFC #344 regarding getters for consistency with the Socket API. Let me know if I should change the getter name to io_threads.

erickt commented 3 years ago

Thanks! Yeah, I think it's better to follow the convention of the library, rather than following RFC #344.