# HG changeset patch # User Stefan Vogel # Date 1312574589 -7200 # Node ID 9087baddf7d0b197e26194863a92439bfea5a408 # Parent cb6211751636d790bd2067cb58730c559e8721c7 changed: #documentation diff -r cb6211751636 -r 9087baddf7d0 BackgroundJob.st --- a/BackgroundJob.st Fri Aug 05 14:14:29 2011 +0200 +++ b/BackgroundJob.st Fri Aug 05 22:03:09 2011 +0200 @@ -72,12 +72,12 @@ in a form of a block or a message send. The background task must be then started by sending a #start message to the instance of the job. A job may be restarted any time by sending #restart or - terminated by sending a #stop. Sending #start to already started + terminated by sending #stop. Sending #start to already started job does nothing. Implementation note: The the task is actually processed in a separate, exclusive - the worker thread, so an explicit synchronization have to + worker thread, so an explicit synchronization have to be done iff the task accesses possibly shared data. The worker exists only iff the job is actually running. When the task is finished, worker thread terminates. @@ -298,11 +298,11 @@ !BackgroundJob class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libbasic2/BackgroundJob.st,v 1.7 2011-08-03 20:21:20 vrany Exp $' + ^ '$Header: /cvs/stx/stx/libbasic2/BackgroundJob.st,v 1.8 2011-08-05 20:03:09 stefan Exp $' ! version_CVS - ^ '$Header: /cvs/stx/stx/libbasic2/BackgroundJob.st,v 1.7 2011-08-03 20:21:20 vrany Exp $' + ^ '$Header: /cvs/stx/stx/libbasic2/BackgroundJob.st,v 1.8 2011-08-05 20:03:09 stefan Exp $' ! version_SVN