Re: [MacRuby-devel] Threading Problems

2010-05-18 Thread Jan Kassens
tarting > the thread? > > A minor (but likely irrelevant here) note: I think your drawRect: method > might be called from the thread, which is AFAIK not supported in Cocoa. > > Laurent > > On May 15, 2010, at 8:25 AM, Jan Kassens wrote: > >> Hi, >> >

Re: [MacRuby-devel] Threading Problems

2010-05-15 Thread Jan Kassens
disappear if you call #update only once from the main thread before starting > the thread? > > A minor (but likely irrelevant here) note: I think your drawRect: method > might be called from the thread, which is AFAIK not supported in Cocoa. > > Laurent > > On May 15,

[MacRuby-devel] Threading Problems

2010-05-15 Thread Jan Kassens
Hi, I’m writing a small widget application rendering a couple of NSView subclasses which update periodically. The widgets are subclasses of [1] and added as subviews to my main view, but the more I add the more likely are some random errors thrown on initialization. The errors include a variety