|P is for Practical|
Ithreads and XS information wantedby Joost (Canon)
|on May 20, 2003 at 10:46 UTC||Need Help??|
Joost has asked for the
wisdom of the Perl Monks concerning the following question:
I am currently working on a set of XS modules for working with LADSPA plugins and so far everything is going allright. (I used Inline::C for prototyping, and that made it quite easy to get stuff working fast.)
However, in the long run I will probably want to make use of ithreads as my 5-year plan is to write a sort of 'virtual studio' type application which will do realtime DSP in C/XS, with a Perl front-end for interfacing with the user.
If needed I probably could try other ways of achieving my goals, but to my eyes a threaded implementation seems natural.
I'm trying to find out how much hairyness I will run into when writing multithreaded XS modules. I haven't been able to find much information on this subject (another case of Warnock's Dilemma). So I'm wondering:
Is there any information on using ithreads in XS, and if not is it because it's too hard or very simple? :-)