Greetings:

  I'm trying to compile some new Csound opcodes into the unofficial
Linux version. The opcodes (from Gabriel Maldonado's DirectCsound)
introduce a set of FLTK widgets. I can get the widgets to compile, but
I'm stuck at a point that needs a threads code block. Here's where I'm
sticking:

        extern "C" void FL_run(FLRUN *p)
        {
        #ifdef _WINDOWS
          threadHandle = _beginthread(fltkRun, 0, NULL);
          if (isActivatedKeyb)
                  threadHandle = _beginthread(fltkKeybRun, 0, NULL);
        #elif defined( LINUX ) || defined(someotherUNIXes)
          // create a new thread in the proper way here
        #endif
        }

I realize that may be precious little to go on, but can anyone point me
to some examples that will do what this block needs ? The widgets will
not launch until I fix this code, and I know nothing about programming
threads.

  Feel free to let me know if more information is necessary.

Best regards,

== Dave Phillips

        The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm
        The Linux Soundapps Site at http://sound.condorow.net

Reply via email to