nanogui@linuxhacker.org
nanogui@linuxhacker.org
Hello,
I have tried my code using flnx-0.10 and mwin-0.88pre11 and it works
fine!
I don't know if the problem is an flnx or mwin issue but it's this code
that
cause the error:
The loop runs in a thread that are suppose to update the window.
while(1)
{
printf("Wnd Looper!\n");
sleep(1);
sprintf(str,"%i",i);
outIterations->value(str); // here is where the thread get stuck!
sprintf(str,"%.3f",grader->mdDeltaZ);
outDeltaZ->value(str);
printf("Before Fl::flush()\n");
Fl::flush();
printf("After Fl::flush()\n");
i++;
}
outIterations and outDeltaZ is an Fl_Output *
the thread don't pass any of the Fl_Output->value() calls
has somthings changed in any inheritented object
of Fl_Output ? I have tried to trace the changes, any suggestions??
Regards,
--
----------------------------
Embedded RT System Developer
Karl Janmar
Svensk ByggnadsGeodesi AB
Kvarnbergsvägen 27
141 45 HUDDINGE
SWEDEN
Phone: +46 (0)8 7112090
Fax: +46 (0)8 7112098
Homepage: http://www.sbg.se
E-mail: karl@sbg.se
----------------------------
nanogui@linuxhacker.org