plus the entrypoints.
kes Apply patch supplied that corrects debug print
in canceling jobs for max run time. Supplied as
part of bug #621, which was previously fixed.
05Feb07
kes Test on job_canceled() and sd_msg_thread_done inside
loop starting the message thread to avoid a race condition.
Fixes bug #771.
kes Remove rl_catch_signal from console.c as it conflicted
with the header definition. Fixes bug #765.
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4110
91ce42f0-d328-0410-95d8-
f526ca767f89
If you have made a contribution and do not find your
name on this list, please send a note to me: kern@sibbald.com
-(Note, under construction prior to version 1.40 release)
-
Contributors:
Adam Thorton
Jan Kesten
John Goerzen
John Kodis
+John Walker
Jose Luis Tallon
Jo Simoens
Juan Luis Frances
+
+This file is rather out of date, though it contains generally useful
+information. We recommend following step 1 below (i.e. see the manual).
+
--------------------------------------------------------------------------
Using GNU autoconfig
--------------------------------------------------------------------------
/* Exported variables */
-extern int rl_catch_signals;
+//extern int rl_catch_signals;
/* Imported functions */
int authenticate_director(JCR *jcr, DIRRES *director, CONRES *cons);
jcr->JobStatus);
}
Dmsg3(800, "MaxWaitTime result: %scancel JCR %p (%s)\n",
- cancel ? "" : "do not ", jcr, jcr->job);
+ cancel ? "" : "do not ", jcr, jcr->Job);
#endif
return cancel;
}
}
Dmsg3(200, "MaxRunTime result: %scancel JCR %p (%s)\n",
- cancel ? "" : "do not ", jcr, jcr->job);
+ cancel ? "" : "do not ", jcr, jcr->Job);
#endif
return true;
}
* Start a thread to handle Storage daemon messages and
* Catalog requests.
*/
-int start_storage_daemon_message_thread(JCR *jcr)
+bool start_storage_daemon_message_thread(JCR *jcr)
{
int status;
pthread_t thid;
/* Wait for thread to start */
while (jcr->SD_msg_chan == 0) {
bmicrosleep(0, 50);
+ if (job_canceled(jcr) || jcr->sd_msg_thread_done) {
+ return false;
+ }
}
Dmsg1(100, "SD msg_thread started. use=%d\n", jcr->use_count());
- return 1;
+ return true;
}
extern "C" void msg_thread_cleanup(void *arg)
extern bool connect_to_storage_daemon(JCR *jcr, int retry_interval,
int max_retry_time, int verbose);
extern bool start_storage_daemon_job(JCR *jcr, alist *rstore, alist *wstore);
-extern int start_storage_daemon_message_thread(JCR *jcr);
+extern bool start_storage_daemon_message_thread(JCR *jcr);
extern int bget_dirmsg(BSOCK *bs);
extern void wait_for_storage_daemon_termination(JCR *jcr);
Technical notes on version 2.1
General:
+06Feb07
+kes Delete src/lib/btree.c from win32 build, then add rblist.c
+ plus the entrypoints.
+kes Apply patch supplied that corrects debug print
+ in canceling jobs for max run time. Supplied as
+ part of bug #621, which was previously fixed.
05Feb07
+kes Test on job_canceled() and sd_msg_thread_done inside
+ loop starting the message thread to avoid a race condition.
+ Fixes bug #771.
+kes Remove rl_catch_signal from console.c as it conflicted
+ with the header definition. Fixes bug #765.
ebl Fixes bug #766 about RunsOnClient = Yes
04Feb07
kes Clarify some stored/acquire messages to indicate if the