thr_exit
!
#include <ace/Synch_T.h>
template<class ACE_LOCK> class ACE_TSS_Guard {
public:
ACE_TSS_Guard (ACE_LOCK &lock, int block = 1);
~ACE_TSS_Guard (void);
int acquire (void);
int tryacquire (void);
int release (void);
int remove (void);
void dump (void) const;
protected:
ACE_TSS_Guard (void);
void init_key (void);
static void cleanup (void *ptr);
ACE_thread_key_t key_;
private:
inline ACE_UNIMPLEMENTED_FUNC ( void operator= (const ACE_TSS_Guard<ACE_LOCK> &) );
};
ACE_TSS_Guard (ACE_LOCK &lock, int block = 1);
~ACE_TSS_Guard (void);
int acquire (void);
int tryacquire (void);
int release (void);
int remove (void);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE; Declare the dynamic allocation hooks.
inline ACE_UNIMPLEMENTED_FUNC (
void operator= (const ACE_TSS_Guard<ACE_LOCK> &)
);