src/dird/msgchan.c
void init_device_resources()
{
   int status;
   pthread_t thid;

   Dmsg0(100, "Start Device thread.\n");
   if ((status=pthread_create(&thid, NULL, device_thread, NULL)) != 0) {
      berrno be;
      Jmsg1(NULL, M_ABORT, 0, _("Cannot create message thread: %s\n"), be.bstrerror(status));
   }
}
/*
 * Start a thread to handle getting Device resource information
 *  from SD. This is called once at startup of the Director.
 */
Start a thread to handle getting Device resource information
from SD. This is called once at startup of the Director.
Start a thread to handle getting Device resource information from SD . This is called once at startup of the Director .
void init_device_resources()
{
   int status;
   pthread_t thid;
   Dmsg0(100, "Start Device thread.\n");
   if ((status=pthread_create(&thid, NULL, device_thread, NULL)) != 0) {
      berrno be;
      Jmsg1(NULL, M_ABORT, 0, _("Cannot create message thread: %s\n"), be.bstrerror(status));
   }
}
void init_device_resources ( ) { int status ; pthread_t thid ; Dmsg0 ( 100 , " \n " ) ; if ( ( status = pthread_create ( & thid , NULL , device_thread , NULL ) ) != 0 ) { berrno be ; Jmsg1 ( NULL , M_ABORT , 0 , _ ( " \n " ) , be . bstrerror ( status ) ) ; } }
Start a thread to handle getting Device resource information
  from SD.
Start a thread to handle getting Device resource information from SD .