on ‎2008 Apr 14 2:42 PM
Hi All,
Is there any way an xMII transaction be executed by many threads at the same time in xMII 12.0? If so, what parameters are thread safe (Local properties, Transaction Input properties, Transaction output parameters)? If some of them are not thread safe, what we have to make sure in the code to make them thread safe?
Thanks,
Sara
Request clarification before answering.
I'd like to add another question similar to the first.
Let's say I have three MII transactions, A, B, and C. Then I create another transaction, Foo which uses the CallTransaction action to call A, then B, then C. Can I assume that when Foo is run by some thread, that the same thread will be used to run A, B, and C?
-tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
AFAIK, the same BLS transaction running on multiple threads should be nearly 100% thread safe. Each transaction has its own context. The only "singletons" are the Global properties, and they are read-only and synchronized from the point of view of the transaction. To some extent, logs are also "singletons", but they, too, are thread safe.
That said, if you wrote your own custom actions, there's no guarantee that they would be "thread safe", of course.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.