core/synch.c
/* a fast way to tell a thread if it should call check_wait_at_safe_spot
 * if translating context would be expensive */
a fast way to tell a thread if it should call check_wait_at_safe_spot
if translating context would be expensive
a fast way to tell a thread if it should call check_wait_at_safe_spot if translating context would be expensive
bool
should_wait_at_safe_spot(dcontext_t *dcontext)
{
    thread_synch_data_t *tsd = (thread_synch_data_t *) dcontext->synch_field;
    return (tsd->pending_synch_count != 0);
}
bool should_wait_at_safe_spot ( dcontext_t * dcontext ) { thread_synch_data_t * tsd = ( thread_synch_data_t * ) dcontext -> synch_field ; return ( tsd -> pending_synch_count != 0 ) ; }
a fast way to tell a thread if it should call check_wait_at_safe_spot
 if translating context would be expensive
a fast way to tell a thread if it should call check_wait_at_safe_spot if translating context would be expensive