summaryrefslogtreecommitdiff
path: root/ACE/docs/ACE-guidelines.html
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/docs/ACE-guidelines.html')
-rw-r--r--ACE/docs/ACE-guidelines.html27
1 files changed, 5 insertions, 22 deletions
diff --git a/ACE/docs/ACE-guidelines.html b/ACE/docs/ACE-guidelines.html
index ab270f13aa8..2a39073badc 100644
--- a/ACE/docs/ACE-guidelines.html
+++ b/ACE/docs/ACE-guidelines.html
@@ -243,17 +243,9 @@ rather than
<strong><code>#if</code></strong> directive. For example,
<pre>
#if defined (ACE_HAS_THREADS)
- # if defined (ACE_HAS_STHREADS)
- # include /**/ &lt;synch.h&gt;
- # include /**/ &lt;thread.h&gt;
- # define ACE_SCOPE_PROCESS P_PID
- # define ACE_SCOPE_LWP P_LWPID
- # define ACE_SCOPE_THREAD (ACE_SCOPE_LWP + 1)
- # else
- # define ACE_SCOPE_PROCESS 0
- # define ACE_SCOPE_LWP 1
- # define ACE_SCOPE_THREAD 2
- # endif /* ACE_HAS_STHREADS */
+ # define ACE_SCOPE_PROCESS 0
+ # define ACE_SCOPE_LWP 1
+ # define ACE_SCOPE_THREAD 2
#endif /* ACE_HAS_THREADS */
</pre><p>
@@ -379,13 +371,7 @@ If using g++, problems like this can be flagged as a warning by using the "<code
#include "Foo_T.inl"
#endif /* __ACE_INLINE__ */
- #if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
#include "Foo_T.cpp"
- #endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
-
- #if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
- #pragma implementation "Foo_T.cpp"
- #endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
#endif /* FOO_T_H */
</pre></p>
@@ -1196,9 +1182,7 @@ public:
the code is removed.<p>
<li>Be <strong>very</strong> careful with the code that you put
- in a signal handler. On Solaris, the man pages document systems
- calls as being Async-Signal-Safe if they can be called from signal
- handlers. In general, it's best to just set a flag in a signal
+ in a signal handler. In general, it's best to just set a flag in a signal
handler and take appropriate action elsewhere. It's also best
to avoid using signals, especially asynchronous signals.<p>
@@ -1213,8 +1197,7 @@ public:
This avoids leaving the temporary file even if the program crashes.<p>
<li>Be sure to specify the <code>THR_BOUND</code> thread creation
- flag for time-critical threads. This ensures that the thread competes
- for resources globally on Solaris. It is harmless on other platforms.<p>
+ flag for time-critical threads. It is harmless on other platforms.<p>
</ul>