realbasic-nug
[Top] [All Lists]

Re: FolderItem weirdness

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: FolderItem weirdness
From: "Joseph J. Strout" <joe at strout dot net>
Date: Thu, 30 Mar 2006 14:53:29 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <fed2e2560603300841i4e3860c1s8c3bcb6b123aadff at mail dot gmail dot com> <F007A71E-FC6C-4832-8AAE-92DC52AD9162 at frontiernet dot net> <fed2e2560603301326g2f79da56p6d06ffe9d7a9df15 at mail dot gmail dot com>
At 1:26 PM -0800 3/30/06, Dennis Birch wrote:

I'm glad to know I'm not the only one experiencing this. I wish there was a
better way to deal with it than a timer.

If you do your work in a thread, then no timer is needed; when you find the file busy, you just wait a few ticks and then try again. Just decide how many times you're willing to keep trying before giving up.

Actually, it's possible that this would work in the main thread as well, since what we're waiting on is a completely separate process. I guess I just prefer threads for long operations.

Best,
- Joe

--

Joseph J. Strout
joe at strout dot net
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>