-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some (bundled) minor changes (take 2) #176
Changes from 25 commits
3bff6f8
6cec721
502c6fc
aeb68c0
de13b79
7acfc9e
6d66024
b1d83ea
6dba799
c717bec
733efc7
4155a8c
9ca4697
2609c79
1280574
b695f27
39aeb7f
5a757dd
a255354
dee50e8
219ae58
7ad5360
d5fbc0d
8dbd724
53bbf4b
4bb4047
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// -*- C++ -*- | ||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL | ||
|
||
ACE_INLINE int | ||
ACE_Condition<ACE_Recursive_Thread_Mutex>::remove (void) | ||
{ | ||
return ACE_OS::cond_destroy (&this->cond_); | ||
} | ||
|
||
ACE_INLINE ACE_Recursive_Thread_Mutex & | ||
ACE_Condition<ACE_Recursive_Thread_Mutex>::mutex (void) | ||
{ | ||
return this->mutex_; | ||
} | ||
|
||
ACE_INLINE int | ||
ACE_Condition<ACE_Recursive_Thread_Mutex>::signal (void) | ||
{ | ||
return ACE_OS::cond_signal (&this->cond_); | ||
} | ||
|
||
ACE_INLINE int | ||
ACE_Condition<ACE_Recursive_Thread_Mutex>::broadcast (void) | ||
{ | ||
return ACE_OS::cond_broadcast (&this->cond_); | ||
} | ||
|
||
ACE_END_VERSIONED_NAMESPACE_DECL |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -382,7 +382,9 @@ project(ACE) : ace_output, acedefaults, install, other, codecs, token, svcconf, | |
|
||
Inline_Files { | ||
Bound_Ptr.inl | ||
Condition_Recursive_Thread_Mutex.inl | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably similar changes have to be made in ace_for_tao.mpc There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, I noticed there are other files missing in the lists. I don't really want to repair the ACE project configurations at this time, partly because I don't yet understand very much about MPC |
||
Condition_T.inl | ||
Condition_Thread_Mutex.inl | ||
Guard_T.inl | ||
Handle_Gobbler.inl | ||
Intrusive_Auto_Ptr.inl | ||
|
@@ -392,6 +394,7 @@ project(ACE) : ace_output, acedefaults, install, other, codecs, token, svcconf, | |
Reverse_Lock_T.inl | ||
TSS_T.inl | ||
Time_Value_T.inl | ||
Timer_Queue_Adapters.inl | ||
} | ||
|
||
Header_Files { | ||
|
@@ -404,7 +407,9 @@ project(ACE) : ace_output, acedefaults, install, other, codecs, token, svcconf, | |
Codeset_Symbols.h | ||
CORBA_macros.h | ||
Codeset_Symbols.h | ||
Condition_Recursive_Thread_Mutex.h | ||
Condition_T.h | ||
Condition_Thread_Mutex.h | ||
Countdown_Time.h | ||
Default_Constants.h | ||
Event_Base.h | ||
|
@@ -459,6 +464,7 @@ project(ACE) : ace_output, acedefaults, install, other, codecs, token, svcconf, | |
Timer_Heap.h | ||
Timer_List.h | ||
Timer_Queue.h | ||
Timer_Queue_Adapters.h | ||
Timer_Queuefwd.h | ||
Timer_Wheel.h | ||
Truncate.h | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,22 @@ | |
# if __cplusplus > 201103L | ||
# define ACE_HAS_CPP14 | ||
# endif | ||
#endif | ||
#endif /* __GNUC__ >= 4.7 */ | ||
|
||
// *NOTE*: this feature may go back further, see e.g.: | ||
// https://gcc.gnu.org/projects/cxx0x.html | ||
#if defined (ACE_HAS_CPP11) | ||
# if (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) | ||
# define ACE_HAS_CPP11_EXTERN_TEMPLATES | ||
# endif /* __GNUC__ >= 4.3 */ | ||
|
||
// *NOTE*: suppress a warning, g++ 5.2.1 does not support attributes on template | ||
// instantiation declarations | ||
// *TODO*: this probably goes back further than 5.2 | ||
# if (__GNUC__ >= 6 || (__GNUC__ == 5 && __GNUC_MINOR__ >= 2)) | ||
# define ACE_LACKS_CPP11_EXTERN_TEMPLATE_ATTRIBUTES | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about gcc 6.x, still needed? Your remark is just about 5.2.1 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this needs to be tested against newer versions of gcc and adjusted when it integrates the C++11 |
||
# endif /* __GNUC__ >= 5.2 */ | ||
#endif /* ACE_HAS_CPP11 */ | ||
|
||
#if (defined (i386) || defined (__i386__)) && !defined (ACE_SIZEOF_LONG_DOUBLE) | ||
# define ACE_SIZEOF_LONG_DOUBLE 12 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this one needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a 'forward declaration'; the header does not
#include ace/Time_Value.h
, even though it is referencingACE_Time_Value*
. Depending on what the other#include
s pull in, this may not be needed (but the header is more consistent this way). As I was changing the header, I cleaned it up a little bit.