src/lib/jcr.c
void create_jcr_key()
{
   int status = pthread_key_create(&jcr_key, NULL);
   if (status != 0) {
      berrno be;
      Jmsg1(NULL, M_ABORT, 0, _("pthread key create failed: ERR=%s\n"),
            be.bstrerror(status));
   }
}
/*
 * Create thread key for thread specific data
 */
Create thread key for thread specific data
Create thread key for thread specific data
void create_jcr_key()
{
   int status = pthread_key_create(&jcr_key, NULL);
   if (status != 0) {
      berrno be;
      Jmsg1(NULL, M_ABORT, 0, _("pthread key create failed: ERR=%s\n"),
            be.bstrerror(status));
   }
}
void create_jcr_key ( ) { int status = pthread_key_create ( & jcr_key , NULL ) ; if ( status != 0 ) { berrno be ; Jmsg1 ( NULL , M_ABORT , 0 , _ ( " \n " ) , be . bstrerror ( status ) ) ; } }
Create thread key for thread specific data
Create thread key for thread specific data