summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorkobica <kobica@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-12-03 10:13:27 +0000
committerkobica <kobica@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-12-03 10:13:27 +0000
commita7a608dbee878d9da13758d3be8a2733253251d3 (patch)
tree2b64018dea9ab124cc9f49f626a3e5318e3c9bbe /tests
parentc0e40b522ee8cb53f4b1bc6d733afb7f21f8b7b1 (diff)
downloadATCD-a7a608dbee878d9da13758d3be8a2733253251d3.tar.gz
Added explicit instantiations to ACE_Task_Ex and ACE_Message_Queue_Ex
Diffstat (limited to 'tests')
-rw-r--r--tests/Task_Ex_Test.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/Task_Ex_Test.cpp b/tests/Task_Ex_Test.cpp
index dcc47cab0f5..1b8d4f97322 100644
--- a/tests/Task_Ex_Test.cpp
+++ b/tests/Task_Ex_Test.cpp
@@ -113,6 +113,15 @@ ACE_THR_FUNC_RETURN producer (void *arg)
return 0;
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+template class ACE_Task_Ex <ACE_MT_SYNCH, User_Defined_Msg>;
+template class ACE_Message_Queue_Ex <User_Defined_Msg, ACE_MT_SYNCH>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+#pragma instantiate ACE_Task_Ex <ACE_MT_SYNCH, User_Defined_Msg>
+#pragma instantiate ACE_Message_Queue_Ex <User_Defined_Msg, ACE_MT_SYNCH>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+
#endif /* ACE_HAS_THREADS */
int