From kde-core-devel Fri Oct 01 10:29:50 1999 From: weis Date: Fri, 01 Oct 1999 10:29:50 +0000 To: kde-core-devel Subject: Re: A new framework for embedding ... without CORBA X-MARC-Message: https://marc.info/?l=kde-core-devel&m=93877353000420 Hi, On Fri, 1 Oct 1999, Dirk A. Mueller wrote: > weis wrote: > > >> Do any blocking IO and you're dead. ;-) > > Then do non blocking IO :-) > > Under bad circumstances, even read(fd, buf) is blocking you long enough > to miss the screen update ( I remember my old cdrom that needed 4-5 > seconds to spin-up after a long sleep period). > > when you're starting to even do the readdir() or every other second > system call async by forking, it's time to think about threads ;) readdir is a bad guy. I see now way to read directories async. That was one more reason for making kioslaves run in their own processes. I did not want to block konqui with a slow or hanging drive. Bye Torben > > -- > Dirk A. Mueller > >