Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Multi threading

Date2008-08-14 00:00
FromMichael Gogins
SubjectRe: [Cs-dev] Multi threading
When I run your csd on my Windows XP MinGW/MSys build, it works fine.

When I get a chance, I will try it on Ubuntu.

Regards,
Mike

----- Original Message ----- 
From: "Felipe Sateler" 
To: "Developer discussions" 
Sent: Tuesday, August 12, 2008 9:59 PM
Subject: Re: [Cs-dev] Multi threading


El 12/08/08 21:50 Michael Gogins escribió:
> Could you please post your orc/sco or csd?

I've been trying one you supplied me before for debugging, mt.csd. I'm
attaching it in case you deleted it.
Note that I haven't been able to use multithreading with any csd I've tried.

In case you don't remember, I get a deadlock after this:

% ./csound --num-threads=2 mt.csd
time resolution is 1000.000 ns
PortAudio real-time audio module for Csound
0dBFS level = 32768.0
Csound version 5.08.91 beta (float samples) Aug 12 2008
libsndfile-1.0.17
Reading options from $HOME/.csoundrc
UnifiedCSD:  mt.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
orchname:  /tmp/fileTS9hgD.orc
scorename: /tmp/filebXVwiI.sco
rtaudio: PortAudio module enabled ... using blocking interface
orch compiler:
32 lines read
        instr   1
        instr   2
Elapsed time at end of orchestra compile: real: 0.043s, CPU: 0.000s
sorting score ...
        ... done
Elapsed time at end of score sort: real: 0.043s, CPU: 0.000s
Multithread performance: insno:  -1  thread -1 of 2 starting.
Multithread performance: insno:  -1  thread -1 of 2 starting.
Csound version 5.08.91 beta (float samples) Aug 10 2008
displays suppressed
0dBFS level = 100000.0
orch now loaded
audio buffered in 256 sample-frame blocks
writing 1024-byte blks of floats to mt.wav (WAV)
SECTION 1:
ftable 1:
new alloc for instr 1:
new alloc for instr 1:
new alloc for instr 1:
new alloc for instr 1:
>>> I have to kill csound here



Saludos,
Felipe Sateler



--------------------------------------------------------------------------------


> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/


--------------------------------------------------------------------------------


> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
ht