On 7/12/05, Tom Jackson <[EMAIL PROTECTED]> wrote: > 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?
Sorry, I should have been more specific. I already had a mutex and acquire/release code laying around. Instead of picking up closed filehandles from the mutex pool, I got rid of the mutex pool and picked up the first shared channel available while I had the mutex. -- Adam -- 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.
