Need a better name (was: Re: Moving ThreadWeaver to kdelibs)

Mirko Boehm mirko at kde.org
Fri Sep 16 14:34:15 BST 2005


On Tuesday 13 September 2005 00:28, Mirko Boehm wrote:
Hi, 

during the presentation at akademy, someone suggested a Job class that only 
resolves it's dependencies if it succeeded. Now generic Jobs do not have a 
notion of being successful or not, so I added a class that derives from Job 
and does that. Only I cannot think of a good name for it, so I called it 
FailableJob which is what it is but sounds horribe. 

Can anybody come up with a better name? 

Also, I added a class JobSequence which is a Job by itself and executes all 
Jobs added to it in a sequence. It also unwinds the queued Jobs that are left 
over if one of the Jobs in the sequence fails. This too was suggested in 
Malaga. The SMIV example has been updated to use that, looks very handy. 

All the code is in the new Experimental/ folder. Have a look. 

Best regards,
--Mirko.

-- 
KDE e.V.: http://www.kde.org/areas/kde-ev/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050916/675ec7a1/attachment.sig>


More information about the kde-core-devel mailing list