Ben Abernathy Messages: 4 Registered: September 2010
Junior Member
All,
I have a question about how services (made available using ds) act when touched by multiple threads. I have a situation where I want to create several worker threads to chew on some computations. I plan on these tasks touching other services for some additional capabilities.
Here are my assumptions and please tell me if they are correct.
I'm assuming Equinox doesn't synchronize access to services. This means that I could have multiple threads touching the same service instance at the same time. Which implies that the service must be thread safe.
Yes. Equinox just acts as an introductory agent between you and the service. You need to examine the service contract to see if the service is thread safe.
Ben Abernathy Messages: 4 Registered: September 2010
Junior Member
BJ Hargrave wrote on Fri, 03 September 2010 19:15
Yes. Equinox just acts as an introductory agent between you and the service. You need to examine the service contract to see if the service is thread safe.
Thank you for the response. That is what I had suspected after running some tests of my own, but it's good to have some confirmation.