summaryrefslogtreecommitdiff
path: root/ace/Task.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-08 00:08:45 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-08 00:08:45 +0000
commite5aac168f9bb01257e912050aa5137551ea394e7 (patch)
tree5b32d0edb97c3bebcf6aee4a2d57aa40763f7b29 /ace/Task.h
parenta54582c074ef294353ef67380b782e957aad3522 (diff)
downloadATCD-e5aac168f9bb01257e912050aa5137551ea394e7.tar.gz
jammer
Diffstat (limited to 'ace/Task.h')
-rw-r--r--ace/Task.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/ace/Task.h b/ace/Task.h
index 0d642cfc1ec..0b11f6ead24 100644
--- a/ace/Task.h
+++ b/ace/Task.h
@@ -62,7 +62,17 @@ public:
// information into <open>.
virtual int close (u_long flags = 0) = 0;
- // Hook called to close a Task.
+ // Hook called from ACE_Task_Exit when during thread exit and from
+ // the default implemenation of module_closed().
+
+ virtual int module_closed (void);
+ // Hook called during ACE_Module::close(). The default
+ // implementation calls forwards the call to close(1). Please
+ // notice the changed value of the default argument of close().
+ // This allows tasks to differ between the call has been originated
+ // from ACE_Task_Exit or from module_closed(). Be aware that
+ // close(0) will be also called when a thread associated with the
+ // ACE_Task instance exits.
// = Immediate and deferred processing methods, respectively.
virtual int put (ACE_Message_Block *, ACE_Time_Value * = 0) = 0;