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
ACE_Thread_Mutex wrapper (only valid for threads in the same process).
Definition: Thread_Mutex.h:50
#define ACE_ASSERT(X)
Definition: Assert.h:35
#define ACE_GUARD_RETURN(MUTEX, OBJ, LOCK, RETURN)
Definition: Global_Macros.h:162
#define ACE_FIND(OP, INDEX)
Definition: Thread_Manager.cpp:319