Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Callback functions...

Date2006-01-19 21:12
FromVictor Lazzarini
SubjectRe: [Cs-dev] Callback functions...
Why don't you do all the set-ups in the main
thread and start a new thread only to
run the processing loop?

>
> Cheers, I think setting the callback in the thread is the
> easiest for now.
>
> Rory.
>
> Istvan Varga wrote:
> > On Thursday 19 January 2006 21:14, Rory Walsh wrote:
> >
> >
> >>>Does the Csound instance  creation happen in a separate
> thread? >>
> >>Yes. I think as you said it's a case of Csound not being
> fully created  >>when I call my message function. I will
> try to clean it up. Having a  >>slight pause is not too
> > much of a problem anyhow, but it will make
> >
> > Instead of the pause, you could wait on a lock that is
> > signaled by the Csound thread, or just set the callback
> > in the Csound thread.
> >
> >
> > -------------------------------------------------------
> > 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> >
> >
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> -------------------------------------------------------
> 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net