Skip to content
Tcl Source Code Artifact [d7d1999ba5]
Login

Artifact [d7d1999ba5]

Artifact d7d1999ba54814951ade67481c50136a3ad718a5:

Ticket change [d7d1999ba5] - Ticket [2944777fffffffff|2944777fff] <i>Tcl_WaitForEvent: CFRunLoop finished on MacOSX</i> status still Open with 4 other changes by das on 2010-02-03 04:52:08.
D 2010-02-03T04:52:08
J icomment Tcl_DoOneEvent()\s\sis\snot\sthread\ssafe\sif\syou\sshare\san\sinterp\sbetween\sthreads,\splease\sread\sup\son\sthe\sTcl\sthreading\smodel.\sYou\smust\sonly\scall\sTcl\sfunctions\sfor\sa\sgiven\sinterp\son\sthe\sthread\sthat\screated\sthat\sinterp.\n\nAlso,\syou\scan\sonly\suse\sTkAqua\son\sthe\smain\sthread\s(i.e.\sdisplay\scan\sonly\soccur\sfrom\sthe\smain\sthread),\sindeed\sTkAqua\sshould\sonly\sbe\sinitialized\son\sthe\sinterps\screated\son\sthe\smain\sthread.\nThe\sonly\ssafe\sTcl\scross-thread\snotifications\sare\sthose\sbased\son\sTcl_ThreadAlert(),\se.g.\sthe\sTcl_Async*\smechanism.\n\nFWIW,\sthe\s"CFRunLoop\sfinished"\spanic\sis\sjust\sa\ssafety\smechanism\sfor\san\sunexpected\sreturn\savlue\sin\stclMacOSXNotify.c\sTcl_WaitForEvent(),\syou\scan\stry\sto\stake\sthat\sout\s(it\sis\san\sindication\sthat\ssomebody\scalled\sCFRunLoopStop()\son\sa\sthread's\srunloop,\swhich\sTcl\scertainly\snever\sdoes\sitself,\stry\sfinding\sout\swho\scalls\sthis)\n
J login das
J mimetype text/plain
J username das
K 2944777fffffffffffffffffffffffffffffffff
U das
Z dbd9cd799acb10b9ff240bef55abbef4