Hi and thanks for your response, The Q is how long time do I need to wait? For how long time is the file in use of Spotlight? I just tested to use a loop with 100 000 irritations, and it take less than a second.. (tested on a locked file) So here is not the lock of UI critical yet..
I think I give this "fix" a try in the reality, and then count my bug reports.. Regards, Sven E On 2007-05-03, at 17:25, [EMAIL PROTECTED] wrote: > On May 03, 2007, at 14:32 UTC, Sven E Olsson wrote: > >> No ideas about this? >> This problems, generate "bug reports" nearly every day now.. > > If you need to wait for a file to be not busy, and you don't want to > tie up your UI, then you need to use something other than a blocking > loop. I.e., use a Thread or Timer. > > Best, > - Joe > > -- > Joe Strout -- [EMAIL PROTECTED] > Strout Custom Solutions > > _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
