/* If thread waiting on mount, wake him */
if (jcr->dcr && jcr->dcr->dev && jcr->dcr->dev->waiting_for_mount()) {
pthread_cond_signal(&jcr->dcr->dev->wait_next_vol);
+ pthread_cond_broadcast(&wait_device_release);
}
bnet_fsend(dir, _("3000 Job %s marked to be canceled.\n"), jcr->Job);
free_jcr(jcr);
bnet_fsend(dir, "3001 OK mount. Device=%s\n",
dev->print_name());
pthread_cond_signal(&dev->wait_next_vol);
+ pthread_cond_broadcast(&wait_device_release);
break;
/* In both of these two cases, we (the user) unmounted the Volume */
dev->print_name());
}
pthread_cond_signal(&dev->wait_next_vol);
+ pthread_cond_broadcast(&wait_device_release);
break;
case BST_DOING_ACQUIRE: