Problem: ZMQ_SOCKET_LIMIT and ZMQ_THREAD_PRIORITY have the same value

Solution: remove documents and tests for ZMQ_THREAD_PRIORITY getter. It
never worked and can never work as it has the same value as a get-only
option ZMQ_SOCKET_LIMIT. It cannot be changed without breaking ABI.
Note that the setter works fine as ZMQ_SOCKET_LIMIT is get-only.
This commit is contained in:
Luca Boccassi
2019-01-15 19:58:42 +00:00
parent f0d97e0243
commit 93b3689376
3 changed files with 1 additions and 12 deletions

View File

@@ -112,8 +112,6 @@ void test_ctx_thread_opts (void *ctx_)
ctx_, ZMQ_THREAD_PRIORITY,
1 /* any positive value different than the default will be ok */);
assert (rc == 0);
rc = zmq_ctx_get (ctx_, ZMQ_THREAD_PRIORITY);
assert (rc == 1);
}