From kde-core-devel Thu May 02 19:41:20 2002 From: Waldo Bastian Date: Thu, 02 May 2002 19:41:20 +0000 To: kde-core-devel Subject: Re: [PATCH] always keep one file-ioslave around X-MARC-Message: https://marc.info/?l=kde-core-devel&m=102036853128766 On Wednesday 01 May 2002 02:51 pm, aleXXX wrote: > Hi, > > since the file ioslave is a very basic element, I think it would be a good > idea to keep at least one of them always around, so that it hasn't got to > be restarted. The attached patch for kdelibs/kio/kio/scheduler.cpp does > this. No, I don't like this. It would increase the memory usage because every=20 application that has used a file-slave once will stick to it till the end o= f=20 times. If you want to do something like this you should do it in the slave= =20 pool maintained by klauncher: When a slave isn't used any more by the application it is send back to=20 klauncher. When another application needs a slave, klauncher will check its= =20 pool of slaves first before starting a new one. Cheers, Waldo =2D-=20 bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com