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


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:


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


View this message in context:
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message