search for: rb_gc_start

Displaying 2 results from an estimated 2 matches for "rb_gc_start".

2004 Dec 13
3
win32-thread experiment
Hi all, I''ve checked in some semi-working code into CVS for win32-thread. I don''t really expect this to ever work properly, given that the Ruby interpreter itself isn''t thread safe, but I thought it was fun to tinker. Anyway, with that in mind, give the following a shot: require "win32/thread" t = Win32::Thread.new{ puts "hello" sleep 2 }
2007 May 21
0
[1022] trunk/wxruby2/swig/classes/App.i: Memory mgmt: use Wx::App to mark still-alive Windows, set up Wx::THE_APP const
...;ins>+#ifdef __WXDEBUG__&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp </ins><span class="cx"> printf("OnExit...\n"); </span><del>-#endif&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp - rb_gc_start(); -#ifdef __WXDEBUG__&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp - printf("survived gc\n"); -#endif </del><ins>+#endif </ins><span class="cx"> </span><ins>+&nbsp&nbsp&nbsp&nbsp&nbsp&am...