ACE_FIND (this->find_thread (t_id), ptr); \
if (ptr == 0) \
{ \
errno = ENOENT; \
return -1; \
} \
int const result = OP (ptr, ARG); \
ACE_Errno_Guard error (errno); \
while (! this->thr_to_be_removed_.is_empty ()) { \
ACE_Thread_Descriptor * td = 0; \
this->thr_to_be_removed_.dequeue_head (td); \
this->remove_thr (td, 1); \
} \
return result
#define ACE_ASSERT(X)
Definition: Assert.h:33
ACE_Thread_Mutex wrapper (only valid for threads in the same process).
Definition: Thread_Mutex.h:48
#define ACE_FIND(OP, INDEX)
Definition: Thread_Manager.cpp:317
#define ACE_GUARD_RETURN(MUTEX, OBJ, LOCK, RETURN)
Definition: Global_Macros.h:166