src/lib/jcr.c
void remove_jcr_from_tsd(JCR *jcr)
{
   JCR *tjcr = get_jcr_from_tsd();
   if (tjcr == jcr) {
      set_jcr_in_tsd(INVALID_JCR);
   }
}
/*
 * Remove jcr from thread specific data, but
 *   but make sure it is us who are attached.
 */
Remove jcr from thread specific data, but
but make sure it is us who are attached.
Remove jcr from thread specific data but but make sure it is us who are attached .
void remove_jcr_from_tsd(JCR *jcr)
{
   JCR *tjcr = get_jcr_from_tsd();
   if (tjcr == jcr) {
      set_jcr_in_tsd(INVALID_JCR);
   }
}
void remove_jcr_from_tsd ( JCR * jcr ) { JCR * tjcr = get_jcr_from_tsd ( ) ; if ( tjcr == jcr ) { set_jcr_in_tsd ( INVALID_JCR ) ; } }
Remove jcr from thread specific data, but
   but make sure it is us who are attached.
Remove jcr from thread specific data but but make sure it is us who are attached .