summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2010-08-31 13:18:11 +0000
committerSteve Huston <shuston@riverace.com>2010-08-31 13:18:11 +0000
commitefc9291d416ca3fd06c3bed1842d55da429cc0b5 (patch)
tree62c31e57602d9155f108eade7dfbf21f8d4a2ef9
parent9bfa55a854332783d13166b5f21ff1062bf26e24 (diff)
downloadATCD-efc9291d416ca3fd06c3bed1842d55da429cc0b5.tar.gz
ChangeLogTag:Tue Aug 31 12:56:36 UTC 2010 Steve Huston <shuston@riverace.com>
-rw-r--r--ACE/ChangeLog9
-rw-r--r--ACE/NEWS14
-rw-r--r--ACE/ace/README2
-rw-r--r--ACE/ace/config-sunos5.6.h3
-rw-r--r--ACE/ace/config-sunos5.7.h4
5 files changed, 23 insertions, 9 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index 5aab6807c5a..d257ca96bf5 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,12 @@
+Tue Aug 31 12:56:36 UTC 2010 Steve Huston <shuston@riverace.com>
+
+ * NEWS: Added an entry for the change at
+ Fri Aug 27 19:17:11 UTC 2010 Steve Huston <shuston@riverace.com>
+
+ * ace/README:
+ * ace/config-sunos5.6.h:
+ * ace/config-sunos5.7.h: Removed all mention of ACE_HAS_LIMITED_SELECT.
+
Mon Aug 30 18:41:24 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/ace.mpc:
diff --git a/ACE/NEWS b/ACE/NEWS
index 9ce23bbab32..77eadacc44f 100644
--- a/ACE/NEWS
+++ b/ACE/NEWS
@@ -5,6 +5,20 @@ USER VISIBLE CHANGES BETWEEN ACE-5.8.1 and ACE-5.8.2
. Removed complete support for emulated C++ exceptions
+. The ACE::handle_ready() family of methods was changed to prefer using
+ poll() over select() on platforms where poll() is available. This preference
+ was previously only used if ACE_HAS_LIMITED_SELECT was set. The
+ ACE_HAS_LIMITED_SELECT choice is removed, making ACE_HAS_POLL the
+ setting that switches this preference. The driving reason for this
+ is that if select() is called to detect changes on a handle whose
+ values falls outside that which can safely be stored in an fdset,
+ the handle-setting macros/functions will set/clear bits outside
+ of the fdset. This results in very weird memory changes, often in
+ the stack, which are very hard to diagnose. poll()'s operation
+ does not suffer from this affect. With the growing use of large
+ numbers of handles and use of ACE_Dev_Poll_Reactor on Linux,
+ the rate at which this problem was cropping up was increasing.
+
USER VISIBLE CHANGES BETWEEN ACE-5.8.0 and ACE-5.8.1
====================================================
diff --git a/ACE/ace/README b/ACE/ace/README
index da3f1f1688c..0edbc40170c 100644
--- a/ACE/ace/README
+++ b/ACE/ace/README
@@ -366,8 +366,6 @@ ACE_HAS_THR_MINSTACK Platform calls thr_minstack()
(e.g., Tandem).
ACE_HAS_LIMITED_RUSAGE_T The rusage_t structure has
only two fields.
-ACE_HAS_LIMITED_SELECT The select is unable to deal with
- large file descriptors.
ACE_HAS_LINUX_NPTL Linux platform (with kernel >= 2.6.x)
with GLibc including new NPTL (Native
POSIX Thread Library).
diff --git a/ACE/ace/config-sunos5.6.h b/ACE/ace/config-sunos5.6.h
index c70539d8cde..dafaa0d42b0 100644
--- a/ACE/ace/config-sunos5.6.h
+++ b/ACE/ace/config-sunos5.6.h
@@ -107,9 +107,6 @@
#define ACE_POSIX_AIOCB_PROACTOR
#endif /* ACE_POSIX_AIOCB_PROACTOR */
-// SunOS 5.6 has a buggy select
-#define ACE_HAS_LIMITED_SELECT
-
// SunOS 5.6 introduced shm_open, but need to turn on POSIX.1b or higher
// to pick it up.
#if defined (_POSIX_C_SOURCE) && (_POSIX_C_SOURCE > 2)
diff --git a/ACE/ace/config-sunos5.7.h b/ACE/ace/config-sunos5.7.h
index 7a48cf4afbc..c8bc3ab976b 100644
--- a/ACE/ace/config-sunos5.7.h
+++ b/ACE/ace/config-sunos5.7.h
@@ -54,10 +54,6 @@
#define ACE_HAS_AIO_CALLS
#endif /* !ACE_HAS_AIO_CALLS */
-#ifdef ACE_HAS_LIMITED_SELECT
-#undef ACE_HAS_LIMITED_SELECT
-#endif /* ACE_HAS_LIMITED_SELECT */
-
// SunOS 5.7 has socklen_t
#define ACE_HAS_SOCKLEN_T