Thanks, Jason. That makes sense. Just wanted to make sure. On Nov 30, 2:59 pm, Jason Meckley <[email protected]> wrote: > you can have multiple sessions per thread (or web request), but not > multiple threads per session. > child, parent, grand-parent <sarcasm> keep the session local to the > thread/web request. > > there are ways to push work onto the background threads, but that is a > system architecture design, it's not specific to NH. > > On Nov 30, 1:42 pm, Throckmorton <[email protected]> wrote: > > > > > > > > > Thanks, Oskar. A little more explanation: if multiple threads executed > > the same session, > > then there would be trouble. So, applications must be designed > > not to do that. > > > I am just wondering if it is safe to run a child > > session in a different thread than the parent? > > > On Nov 29, 2:54 pm, Oskar Berggren <[email protected]> wrote: > > > > The session is executed in whatever thread that calls it. > > > > /Oskar > > > > 2010/11/29 Throckmorton <[email protected]>: > > > > > May I assume that a child session is executed in the same thread as > > > > the parent session? > > > > Since it inherits the transaction, I assume this is the case, but I > > > > just wanted to double > > > > check this. > > > > > Thanks! > > > > > Jorge > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "nhusers" group. > > > > To post to this group, send email to [email protected]. > > > > To unsubscribe from this group, send email to > > > > [email protected]. > > > > For more options, visit this group > > > > athttp://groups.google.com/group/nhusers?hl=en.
-- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
