Re: Discouraging use of sync APIs
- From: Ray Strode <halfline gmail com>
- To: Philip Withnall <philip tecnocode co uk>
- Cc: desktop-devel-list <desktop-devel-list gnome org>
- Subject: Re: Discouraging use of sync APIs
- Date: Wed, 11 Feb 2015 09:46:17 -0500
Hi,
On Wed, Feb 11, 2015 at 7:17 AM, Philip Withnall <philip tecnocode co uk> wrote:
It might turn out that runtime checks are just not feasible, but in that
case I think we still need some way of solving the original problem:
that people are using sync calls and blocking up the main loop.
I'm all for discouraging sync use in the main thread after the
application is up, but
are stalled applications actually a wide spread problem? I don't
really remember any
apps I use regularly locking up (except for maybe hexchat when connecting to my
irc proxy). Granted, it's harder to notice these days now that we
have a compositor
and applications don't need to redraw after getting uncovered, so it
could be it's
happening more than is obvious. But, I just wonder if we really need
to do anything.
It seems like the bad/obvious cases would get bug reports and fixes
pretty quickly,
and so the problem should regulate itself.
--Ray
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]