Re: [MacRuby-devel] GCD and NSURLConnection

2010-01-17 Thread Joshua Ballanco
I'd have to look at the NSURLConnection example again, but in the code from the bug report, there's no unsafe variable access in the Ruby code. Each Bar holds a reference to its own Foo in @foo, and we're dispatching to multiple Bars in turn. If you run that sample (you might need to tweak some

Re: [MacRuby-devel] [MacRuby] #511: GCD crash with indirect method access

2010-01-17 Thread MacRuby
#511: GCD crash with indirect method access ---+ Reporter: joshua.balla...@… | Owner: lsansone...@… Type: defect | Status: new Priority: blocker

Re: [MacRuby-devel] GCD and NSURLConnection

2010-01-17 Thread steve ross
But... both examples show multiple threads accessing a single instance variable without taking any precautions to make the access atomic. Could it be that kind of concurrency issue? Steve On Jan 17, 2010, at 6:01 PM, Joshua Ballanco wrote: > > Hey Darin, > > Looks like you're hitting https://

Re: [MacRuby-devel] GCD and NSURLConnection

2010-01-17 Thread Joshua Ballanco
Hey Darin, Looks like you're hitting https://www.macruby.org/trac/ticket/511 Cheers, Josh On Jan 17, 2010, at 4:52 PM, Darrin Eden wrote: > Hi, > I have yet to wrap my head around GCD, but that's not stopped me from > breaking things anyway. > I'd like to use an asynchronous queue with NSU

[MacRuby-devel] GCD and NSURLConnection

2010-01-17 Thread Darrin Eden
Hi, I have yet to wrap my head around GCD, but that's not stopped me from breaking things anyway. I'd like to use an asynchronous queue with NSURLConnection. However, results in a segmentation fault. Thoughts? Thanks, -- Darrin

Re: [MacRuby-devel] [MacRuby] #559: Build error: too short escaped multibyte character: /[\x80-\xff\r\n]/

2010-01-17 Thread MacRuby
#559: Build error: too short escaped multibyte character: /[\x80-\xff\r\n]/ -+-- Reporter: valerii.hi...@… |Owner: lsansone...@… Type: defect | Status: closed

Re: [MacRuby-devel] [MacRuby] #559: Build error: too short escaped multibyte character: /[\x80-\xff\r\n]/

2010-01-17 Thread MacRuby
#559: Build error: too short escaped multibyte character: /[\x80-\xff\r\n]/ -+-- Reporter: valerii.hi...@… | Owner: lsansone...@… Type: defect | Status: new