On Tuesday 12 July 2005 06:28, Adam Turoff wrote: > On 7/11/05, Dossy Shiobara <[EMAIL PROTECTED]> wrote: > > http://aolserver.com/wiki/ns_chan > > Thanks. That worked like a charm. ;-)
This is interesting. I'll look at the source, but what happens in the case of an error during the time the thread has the channel? I know that AOLserver will detach the channel within the thread once the request is finished, but will it be returned to the pool? Is the channel protected with either mutex or wait variables? I once tried to maintain an open channel per request thread for IPC, but found that AOLserver closes all channels after the request is complete. I guess you could use ns_chan to store the channel and associate the name to the thread. It is more efficient to get/put a channel with ns_chan as opposed to opening/closing every time? tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
