Concurrency Support [message #51941] |
Sat, 29 October 2005 07:43  |
Eclipse User |
|
|
|
Originally posted by: mikhail_kimmelman.hotmail.com
Does OSGi/Equinox provide any support for concurrency and asynchronous
exchange data between services ?
Misha
|
|
|
|
|
|
Re: Concurrency Support [message #52337 is a reply to message #52231] |
Wed, 02 November 2005 16:32  |
Eclipse User |
|
|
|
Originally posted by: mikhail_kimmelman.hotmail.com
"Eike Stepper" <stepper@sympedia.de> wrote in message
news:dka1d9$7fb$1@news.eclipse.org...
> Your message queues are nothing else than pieces of shared memory
> plus "locks".
> The Jdk1.5 has great support for concurrency, including ThreadPools,
> Future values and so on.
> Look into the java.util.concurrent packages. You'll also find your
> BlockingQueue...
Yes, I know this package. Implementing thread pools, futures,
asynchronous calls, etc. is not a problem now. The problem is
a lack of common unified infrastructure for that stuff.
Let's say I have a service which calls another service asynchronously.
There is no standard way to do that. I have to implement it on my own
in my own way. Thus, my components will not be integrated easily with
components of other programmers.
BTW from this point of view Eclipse Job API including Job, ILock, etc.
is not enough in my opinion.
Misha
|
|
|
Powered by
FUDForum. Page generated in 0.03013 seconds