ACE_At_Thread_Exit(3)

ACE_At_Thread_Exit3

Contains a method to be applied when a thread is terminated.

Usage

#include <ace/Thread_Manager.h>
class ACE_At_Thread_Exit
{
  public:
    friend class ACE_Thread_Descriptor;
    friend class ACE_Thread_Manager;
    ACE_At_Thread_Exit (void);
    virtual ~ACE_At_Thread_Exit (void);
    int is_owner (void) const;
    int is_owner (int owner);
    int was_applied (void) const;
    int was_applied (int applied);
  protected:
    ACE_At_Thread_Exit *next_;
    void do_apply (void);
    virtual void apply (void) = 0;
    ACE_Thread_Descriptor* td_;
    int was_applied_;
    int is_owner_;
};

Public members

friend class ACE_Thread_Descriptor;
friend class ACE_Thread_Manager;
ACE_At_Thread_Exit (void);
virtual ~ACE_At_Thread_Exit (void);
int is_owner (void) const;
int is_owner (int owner);
int was_applied (void) const;
int was_applied (int applied);

Protected members

ACE_At_Thread_Exit *next_;

The next At_Thread_Exit hook in the list.

void do_apply (void);
virtual void apply (void) = 0;

The apply method.

ACE_Thread_Descriptor* td_;

The Thread_Descriptor where this at is registered.

int was_applied_;

The at was applied?

int is_owner_;

The at has the ownership of this?

Library

ace

Author

Doug Schmidt

From libace-doc 5.0.7-4 in Debian 2.2 (Potato). Parsed by carta from the page's man source.