core/synch.c
/* Check for a no-xfer permission.  Currently used only for case 6821,
 * where we need to distinguish three groups: unsafe (wait for safe
 * point), safe and translatable, and safe but not translatable.
 */
Check for a no-xfer permission.  Currently used only for case 6821,
where we need to distinguish three groups: unsafe (wait for safe
point), safe and translatable, and safe but not translatable.
Check for a no - xfer permission . Currently used only for case 6821 where we need to distinguish three groups : unsafe ( wait for safe point ) safe and translatable and safe but not translatable .
bool
thread_synch_state_no_xfer(dcontext_t *dcontext)
{
    thread_synch_data_t *tsd = (thread_synch_data_t *) dcontext->synch_field;
    return (tsd->synch_perm == THREAD_SYNCH_NO_LOCKS_NO_XFER ||
            tsd->synch_perm == THREAD_SYNCH_VALID_MCONTEXT_NO_XFER);
}
bool thread_synch_state_no_xfer ( dcontext_t * dcontext ) { thread_synch_data_t * tsd = ( thread_synch_data_t * ) dcontext -> synch_field ; return ( tsd -> synch_perm == THREAD_SYNCH_NO_LOCKS_NO_XFER || tsd -> synch_perm == THREAD_SYNCH_VALID_MCONTEXT_NO_XFER ) ; }
Check for a no-xfer permission.
Check for a no - xfer permission .