NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on May 25, 2009, 12:16:54 PM

Title: File open for all the thread
Post by: Alberto on May 25, 2009, 12:16:54 PM
Hi,
I need a file to be opened for all the thread life.
Where in the wenhandler must I open it?

Thnaks
Alberto
Title: Re: File open for all the thread
Post by: Bruce on May 25, 2009, 09:32:54 PM
ProcessLink, before parent call.

Cheers
Bruce
Title: Re: File open for all the thread
Post by: Alberto on May 26, 2009, 02:02:23 AM
Thanks Bruce,
Do I need to close them after the parent call?

Alberto
Title: Re: File open for all the thread
Post by: Bruce on May 26, 2009, 03:14:31 AM
It's probably a good idea to close files if you open them.

cheers
Bruce
Title: Re: File open for all the thread
Post by: Alberto on May 26, 2009, 03:21:02 AM
Yes I know, the q is:
is it ok to close them at ProcessLink after the parent call?
is it there where the thread finished?
Thanks
Alberto