From: Alex Rousskov Date: Mon, 19 Jul 2010 16:04:11 +0000 (-0600) Subject: Polished job start documentation. X-Git-Tag: SQUID_3_2_0_1~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60ce3189f399bf2086ba65fc5286501ef5b1672b;p=thirdparty%2Fsquid.git Polished job start documentation. --- diff --git a/src/base/AsyncJobs.dox b/src/base/AsyncJobs.dox index a16dea352b..9cf5c3d508 100644 --- a/src/base/AsyncJobs.dox +++ b/src/base/AsyncJobs.dox @@ -44,8 +44,9 @@ you call AsyncStart with a job pointer. \section Rules Basic rules -- To start a job, use AsyncStart. Do not call start() directly. There -are examples in the code. +- To start a job, use AsyncStart. Do not start the same job more than once. + +- Never call start() directly. Treat this method as main() in C/C++. - Never call swanSong() directly. If you are outside an AsyncCall handler, and want to kill the job, then call deleteThis(). If you are