I am using eSWT on s60 5ed and if I want to do something time consuming, like sockets or http, can I do it like;
Or should I do it in my own thread;Code:Runnable runnable = new Runnable() { public void run() { callTimeConsumingHttpMethod(); } }; display.asyncExec(runnable);
I only ask because I hate to keep creating new threads and I if eSWT is designed to handle this already. I was just concerned that maybe it would not be efficient if I used the Display.asyncExec(Runnable); method. Any ideas?Code:Runnable runnable = new Runnable() { public void run() { callTimeConsumingHttpMethod(); } }; new Thread(runnable).start();
coolies thanx in advance!

Reply With Quote

