On Sun, Sep 09, 2001 at 10:23:49AM -0700, Doug MacEachern wrote:
> On Sat, 8 Sep 2001, Barrie Slaymaker wrote:
>
> > On a lot of OSs, the cwd is kept as a part of the kernel's per-process
> > structures, so all threads share the same idea of cwd. Anytime you use
> > a userland threads package this is likely.
>
> we should be able to set things up so chdir() is a noop, and just adjust
> the enviornent (@INC, $ENV{PATH}, open, etc) to use basename $0 instead of
> '.'
Looks like ithreads, or at least the win32 subsystem of Perl already
does this, according to perlfork. If it's not ithreads-general yet
(haven't had time to spelunk in to find this out), it will need to be on
most platforms, I think.
> > Then there's APIs that are completely non threadsafe, AFAIK, like
> > setjmp/longjmp, which are used in Perl in some farily critical places.
>
> not an issue according to sarathy..
Thank you for forwarding that, I've not seen it on-list before. Good to
know.
- Barrie
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: RFC: Apache::Registry family re-design Stas Bekman
- Re: RFC: Apache::Registry family re-design Barrie Slaymaker
- Re: RFC: Apache::Registry family re-design Stas Bekman
- Re: RFC: Apache::Registry family re-design Barrie Slaymaker
- Re: RFC: Apache::Registry family re-design Stas Bekman
- Threading issues [Was: RFC: Apache::Registry family... Barrie Slaymaker
- Re: RFC: Apache::Registry family re-design Barrie Slaymaker
- Re: RFC: Apache::Registry family re-design Stas Bekman
- Re: RFC: Apache::Registry family re-design Barrie Slaymaker
- Re: RFC: Apache::Registry family re-design Doug MacEachern
- RE: RFC: Apache::Registry family re-design Barrie Slaymaker
- RE: RFC: Apache::Registry family re-design Arthur Bergman
- RE: RFC: Apache::Registry family re-design Ask Bjoern Hansen
- Re: RFC: Apache::Registry family re-design Barrie Slaymaker
- Re: RFC: Apache::Registry family re-design Barrie Slaymaker
- Re: RFC: Apache::Registry family re-design Arthur Bergman
- Re: RFC: Apache::Registry family re-design Arthur Bergman
- Re: RFC: Apache::Registry family re-design Barrie Slaymaker
- Re: RFC: Apache::Registry family re-design Barrie Slaymaker
- Re: RFC: Apache::Registry family re-design Arthur Bergman
- Re: RFC: Apache::Registry family re-design Ken Williams
