Hi!
well, I've got a C application with an MMI in Tcl/Tk. I have to send many string from my C application to the Tcl. To do this I use some function such as Tcl_Eval , Tcl_SetResult, or Tcl_AppendResult. It works great but anything is return to Tcl interpreter until the C function isn't finish and return TCL_OK or stuff like this.
So because I've got many string to print on my MMI, I want to send them gradually and don't wait the end of the process to see all the string printed on my MMI.
I try to use the fork command (with semaphore to manage acces to the widget where the string is printed), but when I do this an X server error occured (a very bad one!).
Thanx for your answers.
Anto.
well, I've got a C application with an MMI in Tcl/Tk. I have to send many string from my C application to the Tcl. To do this I use some function such as Tcl_Eval , Tcl_SetResult, or Tcl_AppendResult. It works great but anything is return to Tcl interpreter until the C function isn't finish and return TCL_OK or stuff like this.
So because I've got many string to print on my MMI, I want to send them gradually and don't wait the end of the process to see all the string printed on my MMI.
I try to use the fork command (with semaphore to manage acces to the widget where the string is printed), but when I do this an X server error occured (a very bad one!).
Thanx for your answers.
Anto.