This is an automated email from the ASF dual-hosted git repository.
erjanaltena pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to refs/heads/develop by this push:
new 1ba7643 Fixed typo in zmq-admin shed->sched
1ba7643 is described below
commit 1ba764335a7e810ac2d9e05a2f18db21f1bae989
Author: Erjan Altena <[email protected]>
AuthorDate: Thu Apr 11 10:28:29 2019 +0200
Fixed typo in zmq-admin shed->sched
---
bundles/pubsub/pubsub_admin_zmq/src/pubsub_psa_zmq_constants.h | 2 +-
bundles/pubsub/pubsub_admin_zmq/src/pubsub_zmq_topic_receiver.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bundles/pubsub/pubsub_admin_zmq/src/pubsub_psa_zmq_constants.h
b/bundles/pubsub/pubsub_admin_zmq/src/pubsub_psa_zmq_constants.h
index bdff810..ef8361e 100644
--- a/bundles/pubsub/pubsub_admin_zmq/src/pubsub_psa_zmq_constants.h
+++ b/bundles/pubsub/pubsub_admin_zmq/src/pubsub_psa_zmq_constants.h
@@ -91,7 +91,7 @@
* Can be set in the topic properties.
*/
#define PUBSUB_ZMQ_THREAD_REALTIME_PRIO "thread.realtime.prio"
-#define PUBSUB_ZMQ_THREAD_REALTIME_SHED "thread.realtime.shed"
+#define PUBSUB_ZMQ_THREAD_REALTIME_SCHED "thread.realtime.sched"
/**
* High Water Mark option. See ZMQ doc for more information
diff --git a/bundles/pubsub/pubsub_admin_zmq/src/pubsub_zmq_topic_receiver.c
b/bundles/pubsub/pubsub_admin_zmq/src/pubsub_zmq_topic_receiver.c
index 7799f4c..f8950e4 100644
--- a/bundles/pubsub/pubsub_admin_zmq/src/pubsub_zmq_topic_receiver.c
+++ b/bundles/pubsub/pubsub_admin_zmq/src/pubsub_zmq_topic_receiver.c
@@ -758,7 +758,7 @@ static void
psa_zmq_setupZmqContext(pubsub_zmq_topic_receiver_t *receiver, const
}
}
- const char *sched = celix_properties_get(topicProperties,
PUBSUB_ZMQ_THREAD_REALTIME_SHED, NULL);
+ const char *sched = celix_properties_get(topicProperties,
PUBSUB_ZMQ_THREAD_REALTIME_SCHED, NULL);
if (sched != NULL) {
int policy = ZMQ_THREAD_SCHED_POLICY_DFLT;
if (strncmp("SCHED_OTHER", sched, 16) == 0) {
@@ -806,4 +806,4 @@ static void
psa_zmq_setupZmqSocket(pubsub_zmq_topic_receiver_t *receiver, const
ts->zmq_cert = sub_cert;
ts->zmq_pub_cert = pub_cert;
#endif
-}
\ No newline at end of file
+}