[MacRuby] #196: GVL is held when invoking blocking run-loop related calls
#196: GVL is held when invoking blocking run-loop related calls -----------------------------------+---------------------------------------- Reporter: peter.royal@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: MacRuby 0.4 Component: MacRuby | Keywords: gvl lock runloop -----------------------------------+---------------------------------------- the Ruby GVL is held when using a NSRunLoop from a secondary thread. if i change my code from: run_loop.runMode(NSDefaultRunLoopMode, beforeDate: NSDate.distantFuture) to: run_loop.runMode(NSDefaultRunLoopMode, beforeDate: NSDate.dateWithTimeIntervalSinceNow(1)) i can get a "slow motion" UI, as the main thread gets blocked every other second. this is with r776 on the MacRuby trunk -- Ticket URL: <http://www.macruby.org/trac/ticket/196> MacRuby <http://macruby.org/>
#196: GVL is held when invoking blocking run-loop related calls -----------------------------------+---------------------------------------- Reporter: peter.royal@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: gvl lock runloop | -----------------------------------+---------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: MacRuby 0.4 => MacRuby 0.5 Comment: This problem should not appear with trunk. Let us know if it causes problems. -- Ticket URL: <http://www.macruby.org/trac/ticket/196#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby