I have a C++ server that uses perl_clone() to create a pool of perl interpreters that are used to execute code subs in a perl script requested by socket clients. The parent interpreter parses the code, executes the init() function and then the clones take over processing. My problem is that if a clone calls a routine that tries to load a new perl module, the library crashes due to a check in win32_checkTLS() in perlib.c. I am making the appropriate calls to PERL_SET_CONTEXT() in the C++ code before calling perl and any code that does not load a module runs fine.
This code also runs on Linux and Solaris which do not have the TLS check and everything seems fine - is the check invalid? A library should never dereference NULL purposely anyhow. I compiled perl from scratch w/o the check and it seems to work ok, but of course that does not help me with the ActiveState version Thanks, Todd _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs