[Xenomai-git] Philippe Gerum : demo/can-rtt: remove redundant mlockall()

2015-07-27 Thread git repository hosting
Module: xenomai-3
Branch: master
Commit: 0c0031ad82b1ed3698dc4f07a7c9aa5d3cb69a6f
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0c0031ad82b1ed3698dc4f07a7c9aa5d3cb69a6f

Author: Philippe Gerum 
Date:   Sun Jul 26 12:56:25 2015 +0200

demo/can-rtt: remove redundant mlockall()

---

 demo/posix/can-rtt.c |2 --
 1 file changed, 2 deletions(-)

diff --git a/demo/posix/can-rtt.c b/demo/posix/can-rtt.c
index 6c7c54d..0a3dff8 100644
--- a/demo/posix/can-rtt.c
+++ b/demo/posix/can-rtt.c
@@ -48,7 +48,6 @@
 #include 
 #include 
 #include 
-#include 
 
 #ifdef CONFIG_XENO_COBALT
 #include 
@@ -318,7 +317,6 @@ int main(int argc, char *argv[])
 signal(SIGTERM, catch_signal);
 signal(SIGINT, catch_signal);
 signal(SIGHUP, catch_signal);
-mlockall(MCL_CURRENT|MCL_FUTURE);
 
 printf("Round-Trip-Time test %s -> %s with CAN ID 0x%x\n",
   argv[optind], argv[optind + 1], can_id);


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : demo/can-rtt: remove redundant mlockall()

2015-07-26 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 0c0031ad82b1ed3698dc4f07a7c9aa5d3cb69a6f
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0c0031ad82b1ed3698dc4f07a7c9aa5d3cb69a6f

Author: Philippe Gerum 
Date:   Sun Jul 26 12:56:25 2015 +0200

demo/can-rtt: remove redundant mlockall()

---

 demo/posix/can-rtt.c |2 --
 1 file changed, 2 deletions(-)

diff --git a/demo/posix/can-rtt.c b/demo/posix/can-rtt.c
index 6c7c54d..0a3dff8 100644
--- a/demo/posix/can-rtt.c
+++ b/demo/posix/can-rtt.c
@@ -48,7 +48,6 @@
 #include 
 #include 
 #include 
-#include 
 
 #ifdef CONFIG_XENO_COBALT
 #include 
@@ -318,7 +317,6 @@ int main(int argc, char *argv[])
 signal(SIGTERM, catch_signal);
 signal(SIGINT, catch_signal);
 signal(SIGHUP, catch_signal);
-mlockall(MCL_CURRENT|MCL_FUTURE);
 
 printf("Round-Trip-Time test %s -> %s with CAN ID 0x%x\n",
   argv[optind], argv[optind + 1], can_id);


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git