diff options
author | venkita <venkita@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-08 02:25:02 +0000 |
---|---|---|
committer | venkita <venkita@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-10-08 02:25:02 +0000 |
commit | 7f493e6604bce9791aaaf78295087966926b20ee (patch) | |
tree | 4aaa12948f4a014b5e2b2943c3de83a1f57a95a9 /Kokyu/tests | |
parent | a6752807228caa1c3a017ad236b7aa1d77fa4045 (diff) | |
download | ATCD-7f493e6604bce9791aaaf78295087966926b20ee.tar.gz |
ChangeLogTag: Tue Oct 7 21:10:22 2003 Venkita Subramonian <venkita@cs.wustl.edu>
Diffstat (limited to 'Kokyu/tests')
-rw-r--r-- | Kokyu/tests/DSRT_MIF/MIF.cpp | 12 | ||||
-rw-r--r-- | Kokyu/tests/DSRT_MIF/Makefile | 2 |
2 files changed, 8 insertions, 6 deletions
diff --git a/Kokyu/tests/DSRT_MIF/MIF.cpp b/Kokyu/tests/DSRT_MIF/MIF.cpp index 4e1b14b9665..0a90aef28d1 100644 --- a/Kokyu/tests/DSRT_MIF/MIF.cpp +++ b/Kokyu/tests/DSRT_MIF/MIF.cpp @@ -59,9 +59,10 @@ public: ACE_Thread::self (thr_handle); int prio; + ACE_DEBUG ((LM_DEBUG, "(%t|%T): task activated\n")); ACE_ASSERT (dispatcher_ != 0); - prio = dispatcher_->schedule (guid_, qos_); barrier_.wait (); + prio = dispatcher_->schedule (guid_, qos_); if (ACE_Thread::getprio (thr_handle, prio) == -1) { @@ -72,10 +73,9 @@ public: )); return 0; } - ACE_ERROR_RETURN ((LM_ERROR, - ACE_TEXT ("%p\n"), - ACE_TEXT ("getprio failed")), - -1); + ACE_ERROR ((LM_ERROR, + ACE_TEXT ("%p\n"), + ACE_TEXT ("getprio failed"))); } ACE_DEBUG ((LM_DEBUG, "(%t) Thread prio=%d, guid=%d, qos_.importance=%d \n", prio, guid_, qos_.importance_)); @@ -162,6 +162,7 @@ template class Kokyu::DSRT_Dispatcher_Factory<mif_scheduler_traits>; template class Kokyu::DSRT_Dispatcher<mif_scheduler_traits>; template class Kokyu::DSRT_Dispatcher_Impl<mif_scheduler_traits>; template class Kokyu::DSRT_Direct_Dispatcher_Impl<mif_scheduler_traits>; +template class Kokyu::DSRT_CV_Dispatcher_Impl<mif_scheduler_traits>; template class ACE_Lock_Adapter<ACE_Thread_Mutex>; template class Kokyu::DSRT_Dispatch_Item_var<mif_scheduler_traits>; template class Kokyu::Comparator_Adapter_Generator<mif_scheduler_traits>; @@ -192,6 +193,7 @@ template class ACE_Array_Iterator<Kokyu::ConfigInfo>; #pragma instantiate Kokyu::DSRT_Dispatcher<mif_scheduler_traits> #pragma instantiate Kokyu::DSRT_Dispatcher_Impl<mif_scheduler_traits> #pragma instantiate Kokyu::DSRT_Direct_Dispatcher_Impl<mif_scheduler_traits> +#pragma instantiate Kokyu::DSRT_CV_Dispatcher_Impl<mif_scheduler_traits> #pragma instantiate Kokyu::DSRT_Dispatch_Item_var<mif_scheduler_traits> #pragma instantiate Kokyu::Comparator_Adapter_Generator<mif_scheduler_traits> diff --git a/Kokyu/tests/DSRT_MIF/Makefile b/Kokyu/tests/DSRT_MIF/Makefile index 11f86df03fb..8304cf22d55 100644 --- a/Kokyu/tests/DSRT_MIF/Makefile +++ b/Kokyu/tests/DSRT_MIF/Makefile @@ -28,7 +28,7 @@ include $(ACE_ROOT)/include/makeinclude/rules.local.GNU # Local targets #---------------------------------------------------------------------------- -CPPFLAGS += -I$(ACE_ROOT)/Kokyu +CPPFLAGS += -I$(ACE_ROOT)/Kokyu -DKOKYU_DSRT_LOGGING LDFLAGS += -lKokyu #---------------------------------------------------------------------------- |