]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polished job start documentation.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 19 Jul 2010 16:04:11 +0000 (10:04 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 19 Jul 2010 16:04:11 +0000 (10:04 -0600)
src/base/AsyncJobs.dox

index a16dea352b6c2772f43f9f8d664fed043cd053b5..9cf5c3d5089da7ccb848d8530894bee1aa069cc9 100644 (file)
@@ -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