I hava problems UI Thread. [message #1696540] |
Wed, 27 May 2015 03:36 |
Eclipse User |
|
|
|
I didn't find properly category so I am writing my problems. I'm so sorry.
I am not good at writing english. please understanding me
I hava problems UI Thread.
My application have many background Threads;
checkFile()Thread, syncNetwork()Thread
I changed and added some codes in run-as configuration (findLaunchConfiguration())
When I click "run-as" ,Main thread call findLaunchConfiguration() and call my wizard in findLaunchConfiguration() and call checkFile()Thread with asyncExec.
I describe my problems detail step below
case 1:
run-as
my wizard
get checkFile() <--- don't process( only run my wizard process close )
// --fail to run beacuse didn't work completely checkFile()--
// Exception
case 2:
run-as
my wizard
stuff dialog open and close(meaningless work)
get checkFile() <--- work well
// --success to run beacuse work completely checkFile()--
// continue my wizard and run-as process
Can you help me and please tell me how to control main thread control
I mean run "case2" without stuff dialog.
ps. I tried to run Thread.sleep(~~) but It is useless
|
|
|
Powered by
FUDForum. Page generated in 0.10372 seconds