summaryrefslogtreecommitdiff
path: root/ace/Timeprobe.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-26 20:34:35 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-26 20:34:35 +0000
commit25863cba1c6d69782bb766df6dc6070490519c81 (patch)
treeb98f37049d689a8741ce1088540a91e20341ba0a /ace/Timeprobe.cpp
parenta3c67327ba168093dda0667fd2c3f6e8a0f3bfe6 (diff)
downloadATCD-25863cba1c6d69782bb766df6dc6070490519c81.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Timeprobe.cpp')
-rw-r--r--ace/Timeprobe.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/ace/Timeprobe.cpp b/ace/Timeprobe.cpp
index 379cf0ecf58..3b3d46efaf9 100644
--- a/ace/Timeprobe.cpp
+++ b/ace/Timeprobe.cpp
@@ -73,15 +73,19 @@ ACE_Timeprobe<ACE_LOCK>::reset (void)
this->current_size_ = 0;
}
-template <class ACE_LOCK> void
+template <class ACE_LOCK> int
ACE_Timeprobe<ACE_LOCK>::event_descriptions (const char **descriptions,
u_long minimum_id)
{
+ ACE_GUARD_RETURN (ACE_LOCK, ace_mon, this->lock_, -1);
+
Event_Descriptions events;
events.descriptions_ = descriptions;
events.minimum_id_ = minimum_id;
this->event_descriptions_.insert (events);
+
+ return 0;
}
template <class ACE_LOCK> void