summaryrefslogtreecommitdiff
path: root/Kokyu
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2004-04-24 03:26:23 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2004-04-24 03:26:23 +0000
commit67fffb72a68f538432de035dee9a9f0d15456dee (patch)
tree08066f1901358b568e2bfa606617813a7f25d349 /Kokyu
parentba408bfb5d2a31f268a1230786bfac48a133e2d1 (diff)
downloadATCD-67fffb72a68f538432de035dee9a9f0d15456dee.tar.gz
ChangeLogTag:Fri Apr 23 20:25:05 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'Kokyu')
-rw-r--r--Kokyu/Kokyu_defs.h10
-rw-r--r--Kokyu/Kokyu_defs.i16
2 files changed, 13 insertions, 13 deletions
diff --git a/Kokyu/Kokyu_defs.h b/Kokyu/Kokyu_defs.h
index 22af0499612..281b0ac42c0 100644
--- a/Kokyu/Kokyu_defs.h
+++ b/Kokyu/Kokyu_defs.h
@@ -85,7 +85,7 @@ namespace Kokyu
// type of dispatching queue
Dispatching_Type_t dispatching_type_;
- //allocator to be used for dynamic memory allocation. If each
+ //allocator to be used for dynamic memory allocation. If each
//thread gets its own memory pool, contention will be less
ACE_Allocator *allocator_;
@@ -128,10 +128,10 @@ namespace Kokyu
class Kokyu_Export Dispatch_Command
{
public:
- Dispatch_Command(int dont_delete = 0,
- ACE_Allocator *allocator = 0);
+ Dispatch_Command(int dont_delete = 0,
+ ACE_Allocator *allocator = 0);
//dont_delete indicates whether this object needs to be deleted once processed.
- //allocator indicates the ACE_Allocator, if any, from which this object was created.
+ //allocator indicates the ACE_Allocator, if any, from which this object was created.
//This same allocator has to be used for the deletion also
/// Command callback
@@ -183,7 +183,7 @@ namespace Kokyu
} //end of namespace
//to satisfy ACE_Array<ConfigInfo>
-ACE_INLINE int operator != (const Kokyu::ConfigInfo& lhs, const Kokyu::ConfigInfo& rhs);
+ACE_INLINE bool operator != (const Kokyu::ConfigInfo& lhs, const Kokyu::ConfigInfo& rhs);
#if defined (__ACE_INLINE__)
#include "Kokyu_defs.i"
diff --git a/Kokyu/Kokyu_defs.i b/Kokyu/Kokyu_defs.i
index 1ee9799d1de..0cf793c2a1a 100644
--- a/Kokyu/Kokyu_defs.i
+++ b/Kokyu/Kokyu_defs.i
@@ -6,13 +6,13 @@ namespace Kokyu
ACE_INLINE
void Dispatcher_Attributes::sched_policy(int policy)
-{
+{
sched_policy_ = policy;
}
ACE_INLINE
void Dispatcher_Attributes::sched_scope(int scope)
-{
+{
sched_scope_ = scope;
}
@@ -28,7 +28,7 @@ Reordering_Queue_Attributes::Reordering_Queue_Attributes ()
//pending offset = 15/16th of the dynamic prio range
//which means that the LATE population will be in the
//1/16th part of the range.
-
+
//For the Laxity and Deadline strategies these are the
//defaults defined in Message_Block.h
//static_bit_field_mask (0x3FFUL), // 2^(10) - 1
@@ -38,7 +38,7 @@ Reordering_Queue_Attributes::Reordering_Queue_Attributes ()
}
ACE_INLINE
-Dispatch_Command::Dispatch_Command (int dont_delete,
+Dispatch_Command::Dispatch_Command (int dont_delete,
ACE_Allocator *allocator)
:dont_delete_ (dont_delete),
allocator_ (allocator)
@@ -61,10 +61,10 @@ void Dispatch_Command::destroy (void)
else
{
delete this;
- }
+ }
}
-ACE_INLINE
+ACE_INLINE
ConfigInfo::ConfigInfo ()
:preemption_priority_ (0),
thread_priority_ (0),
@@ -77,8 +77,8 @@ ConfigInfo::ConfigInfo ()
//to satisfy ACE_Array<ConfigInfo>
ACE_INLINE
-int operator != (const Kokyu::ConfigInfo& lhs,
- const Kokyu::ConfigInfo& rhs)
+bool operator != (const Kokyu::ConfigInfo& lhs,
+ const Kokyu::ConfigInfo& rhs)
{
return (lhs.preemption_priority_ != rhs.preemption_priority_ ||
lhs.thread_priority_ != rhs.thread_priority_ ||