Csound Csound-dev Csound-tekno Search About

[Cs-dev] Csound::Reset() issue

Date2005-11-30 23:55
FromVictor Lazzarini
Subject[Cs-dev] Csound::Reset() issue
Something still not completely right with FLTK; testing a
multithreading java app seems to indicate some problem
with exiting csound. After the call to csound::reset(), the
application does not exit, but hangs, something indicating
that the csound object is not being destroyed properly.
When I take libwidgets.dylib off the OPCODEDIR, this
does not happen.

The call to csound reset() is made in the processing
thread, which is different from the one that created the
object.

Victor


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-12-01 08:34
FromIstvan Varga
SubjectRe: [Cs-dev] Csound::Reset() issue
AttachmentsNone  

Date2005-12-01 09:20
FromVictor Lazzarini
SubjectRe: [Cs-dev] Csound::Reset() issue
Thanks. I suspected something of the kind. Had a look last night,
but it was too late for my head and I didn't spot it.

Victor

At 08:34 01/12/2005, you wrote:
>On Thursday 01 December 2005 00:55, Victor Lazzarini wrote:
>
> > Something still not completely right with FLTK; testing a
> > multithreading java app seems to indicate some problem
> > with exiting csound. After the call to csound::reset(), the
> > application does not exit, but hangs, something indicating
> > that the csound object is not being destroyed properly.
> > When I take libwidgets.dylib off the OPCODEDIR, this
> > does not happen.
>
>There is a call to Fl::wait() in csoundModuleDestroy() in
>widgets.cpp. I change this not to be called unless FLTK
>windows were actually created.
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-12-01 09:56
FromVictor Lazzarini
SubjectRe: [Cs-dev] Csound::Reset() issue
Have you committed it? I updated just now and your new
code does not seem to be there.

At 08:34 01/12/2005, you wrote:
>On Thursday 01 December 2005 00:55, Victor Lazzarini wrote:
>
> > Something still not completely right with FLTK; testing a
> > multithreading java app seems to indicate some problem
> > with exiting csound. After the call to csound::reset(), the
> > application does not exit, but hangs, something indicating
> > that the csound object is not being destroyed properly.
> > When I take libwidgets.dylib off the OPCODEDIR, this
> > does not happen.
>
>There is a call to Fl::wait() in csoundModuleDestroy() in
>widgets.cpp. I change this not to be called unless FLTK
>windows were actually created.
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-12-01 10:07
FromIstvan Varga
SubjectRe: [Cs-dev] Csound::Reset() issue
AttachmentsNone