[Webkit-unassigned] [Bug 72589] [GTK] Expose accessibility hierarchy in WebKit2 to ATK/AT-SPI based ATs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 4 03:18:09 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=72589





--- Comment #13 from Mario Sanchez Prada <msanchez at igalia.com>  2012-01-04 03:18:09 PST ---
(In reply to comment #12)
> [...]
> If you need to block, why don't use g_spawn_sync() instead of the async version?

Because I need to block in a way that I need to wait for the child to send me an "OK" message when it's ready but, at the same time, I don't want to wait forever in case something goes wrong in the child process (imagine it hangs for some reason), so I need to be able to unblock if a certain amount of time (a timeout) has happened before getting such a response, which is something I can't specify with g_spawn_sync() I think.

So, that's why I used g_spawn_async() instead: to have more control over the whole thing in a way g_spawn_sync() wouldn't allow. Anyway, according to docs, g_spawn_sync() "calls g_spawn_async_with_pipes() internally" :-)

Anyway, if there's a way to handle that timeout without having to do this manually, I'd be glad to know of it and more than happy to change the implementation of this part, of course.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list