Module: xenomai-3
Branch: stable-3.0.x
Commit: 78b606c5ee1b3bc27a6d98ea50b2cf40f14b4cbf
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=78b606c5ee1b3bc27a6d98ea50b2cf40f14b4cbf

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri May  5 09:55:49 2017 +0200

cobalt/registry: fix timeout mode in binding operation

---

 kernel/cobalt/registry.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cobalt/registry.c b/kernel/cobalt/registry.c
index ed8a37f..dde359e 100644
--- a/kernel/cobalt/registry.c
+++ b/kernel/cobalt/registry.c
@@ -760,7 +760,7 @@ int xnregistry_bind(const char *key, xnticks_t timeout, int 
timeout_mode,
 
        if (timeout_mode == XN_RELATIVE &&
            timeout != XN_INFINITE && timeout != XN_NONBLOCK) {
-               timeout_mode = XN_REALTIME;
+               timeout_mode = XN_ABSOLUTE;
                timeout += xnclock_read_monotonic(&nkclock);
        }
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to