Module: xenomai-forge
Branch: next
Commit: 02eb7cd2783c7bdf929c84a67b13540fac39e134
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=02eb7cd2783c7bdf929c84a67b13540fac39e134

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Aug  4 16:19:48 2014 +0200

copperplate: default to asynchronous cancellation disabled

Relying on asynchronous cancellation is rarely a good idea with
respect to program resource management. Since it's useful only to a
small and likely hopeless subset of the legacy RTOS code base, we
invert the default, picking the safer deferred cancellability option.

---

 configure    |    2 +-
 configure.ac |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index e6073ed..9ce243d 100755
--- a/configure
+++ b/configure
@@ -12977,7 +12977,7 @@ fi
 $as_echo "${use_assert:-no}" >&6; }
 
 
-async_cancel=y
+async_cancel=
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asynchronous 
cancellation of threads is enabled" >&5
 $as_echo_n "checking whether asynchronous cancellation of threads is 
enabled... " >&6; }
 # Check whether --enable-async-cancel was given.
diff --git a/configure.ac b/configure.ac
index baed314..8dce673 100644
--- a/configure.ac
+++ b/configure.ac
@@ -240,9 +240,9 @@ AC_ARG_ENABLE(assert,
        esac])
 AC_MSG_RESULT(${use_assert:-no})
 
-dnl Enable asynchronous cancellation (default: on)
+dnl Enable asynchronous cancellation (default: off)
 
-async_cancel=y
+async_cancel=
 AC_MSG_CHECKING(whether asynchronous cancellation of threads is enabled)
 AC_ARG_ENABLE(async-cancel,
        AS_HELP_STRING([--enable-async-cancel], [Enable asynchronous 
cancellation]),


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

Reply via email to