Okay got it ...We just need to wait for all threads to complete and then step out of the function...Thats okay for my usecase...Thanks for the help
On Sun, Jan 22, 2017 at 6:18 AM, Dan Smith <[email protected]> wrote: > Yeah, that's totally fine. The one thing you I think you probably > shouldn't do is send results with the ResultSender after your function > ends. So if you are launching threads that send results your function > should wait for those threads to finish. > > Dan > > > -------- Original message -------- > From: Lyndon Adams <[email protected]> > Date: 1/21/17 12:30 PM (GMT-08:00) > To: [email protected] > Subject: Re: Using threads inside Geode Functions > > Yes > > Lyndon Adams > London, SW11 > > > On 21 Jan 2017, at 20:06, Amit Pandey <[email protected]> wrote: > > > > Hi Guys, > > > > It it okay if I create user created threads inside the geode functions? > > > > I have heavy processing which I want to do inside functions for the > local data there, so is it okay if use some threads inside the functions? > > > > Regards > > AMit >
