Hi Doug,

Still I am not able to find any solution. Please explain briefly..:)

Thanks...

On Nov 17, 9:21 am, Mahabaleshwara Vasishta <[email protected]>
wrote:
> Thanks Doug, :)
>
> On Nov 16, 12:28 pm, Doug <[email protected]> wrote:
>
>
>
>
>
>
>
> > You will have to have the main test thread wait for a response from
> > the server test thread.  If you are waiting for a callback with the
> > response, that callback should notify the main thread which needs to
> > be waiting on that signal.  Pick your favorite thread sync mechanism
> > (Semaphore, CountDownLatch, etc).  Or if you are just waiting for the
> > server request thread to end, just join with it and report the
> > results.
>
> > By the way, this is not at all an Android issue, this is a general
> > Java threading issue, so you may just want to become familiar with
> > Java threading and synchronization in general.
>
> > Doug

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to