Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Can anyone tell me the relationship of job and thread?
Can anyone tell me the relationship of job and thread? [message #459899] Fri, 08 December 2006 08:45 Go to next message
Eclipse UserFriend
Originally posted by: asper975.163.com

I think "job" like thread in java.
but in help document,when I read the function of job technology.
I cannot see anything between job and thread.
Can anyone tell me the relationship of job and thread?
Re: Can anyone tell me the relationship of job and thread? [message #459900 is a reply to message #459899] Fri, 08 December 2006 09:07 Go to previous messageGo to next message
Eclipse UserFriend
It's more like a runnable than a thread. The point about a job is that it's a unit of work. Something else runs the job. There could be a thread pool, and Eclipse picks whatever one is free, or there could be a single thread running through all the outstanding jobs.

There's a lot of other stuff in the infrastructure which allows jobs to be prioritised over another, ensure that only one job gets run at a time, that kind of thing.

So whilst a Thread, at some point, is going to be used to run a Job, which thread it is, and how that thread is created, isn't of any relevance to you as a Job developer.

Alex.
Re: Can anyone tell me the relationship of job and thread? [message #459912 is a reply to message #459900] Fri, 08 December 2006 11:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: asper975.163.com

oh,I see.
Job is another form of runnable in eclipse.

The Job package may provide more function than runnable in native java. Is it Right?
Re: Can anyone tell me the relationship of job and thread? [message #459914 is a reply to message #459912] Fri, 08 December 2006 11:48 Go to previous message
Eclipse UserFriend
Yes.
Previous Topic:How to pass command line argument to an RCP application
Next Topic:Communication with Eclipse Plugin
Goto Forum:
  


Current Time: Fri Mar 21 17:44:48 EDT 2025

Powered by FUDForum. Page generated in 0.02742 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top