Hello There. I have embedded Perl inside C framework. The Perl interface that I created is very simple: calls the new function and an init function in the beginning, calls a request function multiple times, and calls terminate function and DESTROY in the end.
The C framework is multithreaded, and currently I just lock access to Perl so just one thread can access the Perl object at any time. But now I want to give the user the ability to make his extension multithreaded, and I need ideas on how to do it. Should I externally clone the interpreter with the user object inside? Or should I create multiple interpreters and load the user's module each time? (not a good idea, IMO) What do you think? What would you expect? Shmuel. _______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl
