summaryrefslogtreecommitdiff
path: root/ace/Synch_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Synch_T.h')
-rw-r--r--ace/Synch_T.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ace/Synch_T.h b/ace/Synch_T.h
index 821372c4b66..191f1d33749 100644
--- a/ace/Synch_T.h
+++ b/ace/Synch_T.h
@@ -283,12 +283,12 @@ private:
* thread-specific functions. It uses the <C++ operator->> to
* shield applications from the details of accessing
* thread-specific storage.
- * NOTE: TYPE cannot be a built-in type, but instead must be a
- * user-defined class. (Some compilers will allow a built-in
- * type, but shouldn't. Sun C++ won't, properly detecting the
- * improper return type from <operator->>.) See template class
- * ACE_TSS_Type_Adapter, below, for adapting built-in types to
- * work with ACE_TSS.
+ *
+ * NOTE: For maximal portability, <TYPE> cannot be a built-in type,
+ * but instead should be a user-defined class (some compilers will
+ * allow a built-in type, others won't). See template class
+ * ACE_TSS_Type_Adapter, below, for adapting built-in types to work
+ * with ACE_TSS.
*/
template <class TYPE>
class ACE_TSS
@@ -458,7 +458,7 @@ public:
// = Utility methods.
/// 1 if locked, 0 if couldn't acquire the lock
/// (errno will contain the reason for this).
- int locked (void);
+ int locked (void) const;
/// Explicitly remove the lock.
int remove (void);