User talk:Philosopher/Nasal introspection: Difference between revisions

Jump to navigation Jump to search
Line 161: Line 161:
</pre>
</pre>
BTW: Valgrind doesn't work too well with threads though ...
BTW: Valgrind doesn't work too well with threads though ...
This trivial example worked in valgrind:
<pre>
var x=[1,2,3];
var h={1:,2:,3:};
var foo = "foo";
for(var i=0;i<=10;i+=1)
thread.newthread( func i );
</pre>


== Debugging Threads ==
== Debugging Threads ==

Navigation menu