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? :-)
Joost.
-- #!/usr/bin/perl -np BEGIN{@ARGV=$0}s(^([^=].*)|=)()s; =Just another perl hacker\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Ithreads and XS information wanted
by djantzen (Priest) on May 21, 2003 at 02:06 UTC | |
by MarkM (Curate) on May 21, 2003 at 02:54 UTC | |
by Joost (Canon) on May 21, 2003 at 08:29 UTC | |
by MarkM (Curate) on May 21, 2003 at 13:57 UTC |