I
Ilya Zakharevich
Suppose I have an interface module to an external library with
hundreds (or thousands) of XSUBs, and I want to make it thread-safe.
The external library is not. So what looks like the simplest
first-stage solution is to automatically insert locking code about all
XSUBs. But we already have a preprocessor which massages XSUBs:
xsubpp.
So: is it possible to instruct xsubpp to insert locking code about
all/selected XSUBs? At least the docs of perl-5.8.8 one do not
mention anything like this...
Thanks,
Ilya
hundreds (or thousands) of XSUBs, and I want to make it thread-safe.
The external library is not. So what looks like the simplest
first-stage solution is to automatically insert locking code about all
XSUBs. But we already have a preprocessor which massages XSUBs:
xsubpp.
So: is it possible to instruct xsubpp to insert locking code about
all/selected XSUBs? At least the docs of perl-5.8.8 one do not
mention anything like this...
Thanks,
Ilya