Old style threads do not work under ActivePerl - only iThreads!

The PlRPC modules (used by Net::Daemon, used by DBD::Proxyserver) only
support, single, fork and old style threads.

iThreads is supposed to emulate fork on Win32 but this doesn't work for
extensions that are not thread safe; this includes "Storable" which happens
to be used by the PlRPC modules.

I reported this to ActiveState some months ago.

Your options are:
1.  Don't use ActivePerl - recompile perl using old style thread support
2.  Use ActivePerl in "single" socket mode (but only one connection per
proxy server).

If anyone has a better solution please let me know.

--
  Simon Oliver

----- Original Message -----
From: Jochen Wiedmann <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 10:21 PM
Subject: Re: DBD::Proxyserver/Win32/Threads?


> Quoting [EMAIL PROTECTED]:
>
> > Can't call method "tid" on an undefined value at
> > c:/Perl/site/lib/Net/Daemon/Log.pm line 75
>
> Strange, Thread->self seems to return undef under ActivePerl ...
>
> Well, please try Net::Daemon 0.36, which I have uploaded to
> CPAN some minutes ago. That problem should be handled properly
> now. (Which doesn't necessarily mean that everything works. :-)
>
>
> Thanks,
>
> Jochen
>

Reply via email to