Overview
| Artifact ID: | 26d938f5bdc1c94fb2be3a5f105110de7842b66e |
|---|---|
| Ticket: | 2944777fffffffffffffffffffffffffffffffff
Tcl_WaitForEvent: CFRunLoop finished on MacOSX |
| User & Date: | starseeker on 2010-02-02 18:29:18 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Using tcl 8.6cvs compiled for X11 graphics on Mac OSX, I have been attempting to get an application working whose purpose is to incrementally display an image onscreen as it is generated by a raytracer. To do this, the general approach is: 1. Set up the window and Tk Photo 2. Enter a loop where the image generation routine calls a function to put blocks into the photo (this is in C) The loop: a. Calls Tk_PhotoPutBlock to write the generated information b. Calls Tcl_DoOneEvent(TCL_ALL_EVENTS|TCL_DONT_WAIT); to immediately update the view. It's the latter step that seems to be failing: the window appears, but there is no visible output and the error on the command line is: Tcl_WaitForEvent: CFRunLoop finished Abort trap If I comment out the Tcl_DoOneEvent line, the display eventually does show the image but only upon completion of the entire raytrace. This same code did succeed with Tcl/Tk 8.5 X11 on the Mac, although the 8.5 AquaTk results were similar to the above - it either didn't update until the end or produced the same error as seen above. If any additional information or example code is needed I will do my best to supply it. Any help appreciated. - foundin changed to: "obsolete: 8.6b1.1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "starseeker"
- subsystem changed to: "None"
- title changed to: "Tcl_WaitForEvent: CFRunLoop finished on MacOSX"
- type changed to: "Bug"