.
D 2010-02-02T18:29:18
J assignee nobody
J cmimetype text/plain
J comment Using\stcl\s8.6cvs\scompiled\sfor\sX11\sgraphics\son\sMac\sOSX,\sI\shave\sbeen\sattempting\sto\sget\san\sapplication\sworking\swhose\spurpose\sis\sto\sincrementally\sdisplay\san\simage\sonscreen\sas\sit\sis\sgenerated\sby\sa\sraytracer.\s\sTo\sdo\sthis,\sthe\sgeneral\sapproach\sis:\n\n1.\s\sSet\sup\sthe\swindow\sand\sTk\sPhoto\n2.\s\sEnter\sa\sloop\swhere\sthe\simage\sgeneration\sroutine\scalls\sa\sfunction\sto\sput\sblocks\sinto\sthe\sphoto\s(this\sis\sin\sC)\n\s\s\s\s\sThe\sloop:\n\s\s\s\s\sa.\s\sCalls\sTk_PhotoPutBlock\sto\swrite\sthe\sgenerated\sinformation\n\s\s\s\s\sb.\s\sCalls\sTcl_DoOneEvent(TCL_ALL_EVENTS|TCL_DONT_WAIT);\sto\simmediately\supdate\sthe\sview.\n\nIt's\sthe\slatter\sstep\sthat\sseems\sto\sbe\sfailing:\sthe\swindow\sappears,\sbut\sthere\sis\sno\svisible\soutput\sand\sthe\serror\son\sthe\scommand\sline\sis:\n\nTcl_WaitForEvent:\sCFRunLoop\sfinished\nAbort\strap\n\nIf\sI\scomment\sout\sthe\sTcl_DoOneEvent\sline,\sthe\sdisplay\seventually\sdoes\sshow\sthe\simage\sbut\sonly\supon\scompletion\sof\sthe\sentire\sraytrace.\s\sThis\ssame\scode\sdid\ssucceed\swith\sTcl/Tk\s8.5\sX11\son\sthe\sMac,\salthough\sthe\s8.5\sAquaTk\sresults\swere\ssimilar\sto\sthe\sabove\s-\sit\seither\sdidn't\supdate\suntil\sthe\send\sor\sproduced\sthe\ssame\serror\sas\sseen\sabove.\n\nIf\sany\sadditional\sinformation\sor\sexample\scode\sis\sneeded\sI\swill\sdo\smy\sbest\sto\ssupply\sit.\s\sAny\shelp\sappreciated.\n
J foundin obsolete:\s8.6b1.1
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter starseeker
J subsystem None
J title Tcl_WaitForEvent:\sCFRunLoop\sfinished\son\sMacOSX
J type Bug
K 2944777fffffffffffffffffffffffffffffffff
U starseeker
Z 3b2e4d7d2c6ec3204af98f0c3760c9ff