Hi Ian
Thanks very much for your help.
Here is my problem:
In my main app(let's call it mainApp),i need to update a region by timer,but
since this timer is also shared by other funtions,so sometime
the region updated so slowly.
My solution to this problme is to update this region in another process
(i am using embeded linux where there is no pthread),
My code is something like:
int pid = fork();
if (pid == 0)
{
//child process
updateregionbyTimer();
}
in updateregionbyTimer:
i use FL:run() to end it(child process).
But then i found that seems timer in mainApp stop working.
So i just wonder weather it's possible to call FL:run() in both parent process
and child process(created by fork call) at same time
BTW,i am not very clear about the FLTK verion number,but it's not the most up
to date one since we used it for about 2 years.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk