summaryrefslogtreecommitdiff
path: root/ace/XtReactor.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-02-12 06:56:38 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-02-12 06:56:38 +0000
commit8bc120eb469fb03b4aed8b3ab2056ddb065faca8 (patch)
tree3219e4485debc9013e983b56c6ac485aa06cf315 /ace/XtReactor.cpp
parentba4c754283c3b43616dd759c804bf84b7392a165 (diff)
downloadATCD-8bc120eb469fb03b4aed8b3ab2056ddb065faca8.tar.gz
foo
Diffstat (limited to 'ace/XtReactor.cpp')
-rw-r--r--ace/XtReactor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/XtReactor.cpp b/ace/XtReactor.cpp
index 33d9273ab8e..0ff8636e048 100644
--- a/ace/XtReactor.cpp
+++ b/ace/XtReactor.cpp
@@ -39,8 +39,10 @@ ACE_XtReactor::ACE_XtReactor (XtAppContext context,
// we simply close and re-opened the notification handler in the
// constructor of the XtReactor.
+#if defined (ACE_MT_SAFE)
this->notify_handler_.close ();
this->notify_handler_.open (this);
+#endif /* ACE_MT_SAFE */
}
ACE_XtReactor::~ACE_XtReactor (void)
@@ -158,7 +160,7 @@ int ACE_XtReactor::XtWaitForMultipleEvents (int width,
temp_set.rd_mask_,
temp_set.wr_mask_,
temp_set.ex_mask_,
- (ACE_Time_Value *) &ACE_TimeValue::zero) == -1)
+ (ACE_Time_Value *) &ACE_Time_Value::zero) == -1)
return -1; // Bad file arguments...
// Instead of waiting using select, just use the Xt mechanism to wait