02-27-2006, 02:57 PM
|
#1 (permalink)
|
| Knows Where the Search Button Is
Join Date: Jan 2006 Model: 7520
Posts: 22
Post Thanks: 0 Thanked 0 Times in 0 Posts
| Thread Communication Please Login to Remove! I need to create a separate thread to make an HTTP request. The parent thread can easily poll the daughter thread and update its own members (graphical elements) but the daughter thread can't update those members itself, despite the fact that the same object is visible (the daughter thread is an inner class of the parent thread.)
What gives? It seems like when i try to refer back to the parent thread's members, the daughter thread just locks up and never makes the HTTP request at all, but i'm not getting error messages or anything. Polling is really out of the question, when the http request completes, i need to tell the user about the results. Any hints, developer community? |
| Offline
| |