<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - tcl_eval of puts from a callback works under tcl8.3 doesn&amp;#039;t under tcl8.4 - Comments</title>
 <link>http://community.activestate.com/forum-topic/tcl-eval-puts-callback-works-under-tcl8-3-doesnt-under-tcl8-4</link>
 <description>Comments for &quot;tcl_eval of puts from a callback works under tcl8.3 doesn&#039;t under tcl8.4&quot;</description>
 <language>en</language>
<item>
 <title>More Info about the problem</title>
 <link>http://community.activestate.com/forum-topic/tcl-eval-puts-callback-works-under-tcl8-3-doesnt-under-tcl8-4#comment-4914</link>
 <description>&lt;p&gt;8.3 was not built threaded, so that may be the issue.  However, you also need to ensure that you are initializing the interpreter correctly to even get std channels (which should only exist in non-gui apps).  If threading is the issue, then you just need to ensure that you are marshalling it to the correct thread.&lt;/p&gt;
</description>
 <pubDate>Thu, 03 Apr 2008 10:04:46 -0700</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 4914 at http://community.activestate.com</guid>
</item>
<item>
 <title>More Info about the problem</title>
 <link>http://community.activestate.com/forum-topic/tcl-eval-puts-callback-works-under-tcl8-3-doesnt-under-tcl8-4#comment-4913</link>
 <description>&lt;p&gt;This is an ActiveTcl install.  This is apparently a threading issue.  It seems that when I do a Tcl_Eval(interp, &quot;puts Hello&quot;) from a thread callback, I get an error that the stdout handle can not be found.  I understand that this is a problem under Windows.  Still its odd that it works under 8.3 and not 8.4.  Is there a reasonable workaround?&lt;/p&gt;
</description>
 <pubDate>Thu, 03 Apr 2008 10:03:14 -0700</pubDate>
 <dc:creator>georgep</dc:creator>
 <guid isPermaLink="false">comment 4913 at http://community.activestate.com</guid>
</item>
<item>
 <title>There really isn&#039;t enough</title>
 <link>http://community.activestate.com/forum-topic/tcl-eval-puts-callback-works-under-tcl8-3-doesnt-under-tcl8-4#comment-4911</link>
 <description>&lt;p&gt;There really isn&#039;t enough information in this post to help determine the problem.  Are these ActiveTcl installs?  Is it perhaps a threading issue?&lt;/p&gt;
</description>
 <pubDate>Thu, 03 Apr 2008 09:38:46 -0700</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 4911 at http://community.activestate.com</guid>
</item>
<item>
 <title>tcl_eval of puts from a callback works under tcl8.3 doesn&#039;t under tcl8.4</title>
 <link>http://community.activestate.com/forum-topic/tcl-eval-puts-callback-works-under-tcl8-3-doesnt-under-tcl8-4</link>
 <description>&lt;p&gt;An Interrupt handler under windows is doing a callback to a function that is in the same memory space as the Tcl interpreter.  Inside the callback procedure a Tcl_Eval(interp, &quot;puts Hello&quot;) is done.  The word &quot;Hello&quot; appears on the console when tcl 8.3 is used.  When tcl 8.4 is used however, &quot;Hello&quot; does not appear on the console.  What can I do to make &quot;puts&quot; work from a callback routine under tcl 8.4&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/tcl-eval-puts-callback-works-under-tcl8-3-doesnt-under-tcl8-4#comments</comments>
 <category domain="http://community.activestate.com/forums/activetcl-support-0">ActiveTcl support</category>
 <category domain="http://community.activestate.com/os/windows">Windows</category>
 <pubDate>Mon, 31 Mar 2008 11:22:58 -0700</pubDate>
 <dc:creator>georgep</dc:creator>
 <guid isPermaLink="false">2146 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
