ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nam-Luc Tran <namluc.t...@euranova.eu>
Subject Re: Main thread and child threads
Date Thu, 18 Jun 2015 09:59:30 GMT

Val,

This is not necessarily the case, in the way the threads are created
in our system there is actually no way of passing the Ignite instance
as parameter to the threads. Is there a way to create an Ignite
instance on the main thread and retrieve that same instance back on
the child threads?

Thanks and best regards,

Tran Nam-Luc

At Thursday, 18/06/2015 on 1:42 vkulichenko wrote:

Tran,

Are you talking about different threads within one process? If so, you
can
simply start one Ignite instance and use it in all child threads. All
Ignite
APIs (Ignite, IgniteCache, etc.) are thread-safe and designed to be
accessed
from multiple threads in parallel.

-Val

--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Main-thread-and-child-threads-tp516p527.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.



Mime
View raw message