The A is you need to determine by experiment, or ask Apple.  What  
you're seeing is not a bug.  Any other process can access a file at  
any time, and your code must handle the possibility.

Charles Yeomans


On May 3, 2007, at 11:43 AM, Sven E Olsson wrote:

> 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

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to