logo       

Re: Detecting when a thread is don: msg#00155

lang.realbasic.beginner

Subject: Re: Detecting when a thread is don

Ah. This is a question that can be answered. See <http://www.nilobject.com/?p=233> for a very good discussion of this problem.

Charles Yeomans

On Mar 21, 2006, at 12:39 PM, Jay Rimalrick wrote:

Ultimately I want a thread to gather some data and
when the thread is finished I want a listbox to be
populated with the data. I guess I could hard code
the second part into the thread, but I was wondering
if there was a way in the listbox to say, "when thread
x thread is finished go ahead and populate yourself."

Thanks,
Jay

--- Norman Palardy <npalardy@xxxxxxxxxxxxxxxxxxxxxxxx>
wrote:


On Mar 21, 2006, at 9:16 AM, Charles Yeomans wrote:

But wouldn't this event handler be invoked in the
thread, as opposed
to the other thread that wants to know when this
specific thread is
finished?

I suppose, but he said nothing about other threads,
just that he wants
to do something when the thread finishes

I want to do something, but only after a specific
thread is finished. Is there a way to detect
exactly
when a thread finishes (from outside of the
thread)?

Depending on the exact requirements there are many
possible solutions,
some of which may suit his needs better than others.


_______________________________________________
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>



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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>


--------------
Charles Yeomans

_______________________________________________
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>
Google Custom Search

News | FAQ | advertise