[wxruby-users] Second thread working at slow speed

Chase Wilson
2010-07-08T06:07:18Z

Mario Steele wrote:
> That''s cause whenever you pass the thread to another Ruby thread,
it
> takes
> time away from the main thread.  And since your Processing code is in a
> Secondary Thread, it gets less time then the Main Thread.

No no, before I had created the second thread my computer would process
the data and have a ton of CPU usage. Now with the thread it runs, but
very very slowly and hardly any CPU usage.
--
Posted via http://www.ruby-forum.com/.