eclipse rcp 多线程
Eclipse中多线程的实现,类似这样
Job job = new Job("job1") {
protected IStatus run(IProgressMonitor monitor) {
//-----你自定义的东西
Job1 job1 = new Job1();
job1.run();
//-----------------
return Status.OK_STATUS;
}
};
job.setPriority(Job.SHORT);
job.schedule(); //start as soon as possible
Job job = new Job("job1") {
protected IStatus run(IProgressMonitor monitor) {
//-----你自定义的东西
Job1 job1 = new Job1();
job1.run();
//-----------------
return Status.OK_STATUS;
}
};
job.setPriority(Job.SHORT);
job.schedule(); //start as soon as possible
keim,毕业于安徽科技学院理学院,2003年开始对Web开发有浓厚的兴趣,并专注于C#/java Web开发,软件架构设计、分布式相关、项目管理、前端设计等等,实战派...