[haiku-bugs] Re: [Haiku] #8007: [app_server] fully unresponsive when resizing window of big textfile

  • From: "jua" <trac@xxxxxxxxxxxx>
  • Date: Sat, 03 Mar 2012 00:04:44 -0000

#8007: [app_server] fully unresponsive when resizing window of big textfile
-----------------------------+----------------------------
   Reporter:  ttcoder        |      Owner:  axeld
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  R1
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:  7882, 8136
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------

Comment (by jua):

 Attaching a patch which implements:
 * Sorting mutex waiter lists by priority
 * Priority inheritance for kernel mutexes

 Solves the problem on my netbook. On my desktop there is still slight
 freezing but that seems to be another issue unrelated to this ticket.

 StyledEdit itself still needs to be updated too because of course it still
 freezes on large textfiles for a while and causes the rest of the system
 GUI to slow down (tracker/deskbar refresh very slowly, but mouse and
 windows can still be moved around) by doing lots of work in a GUI thread.

 This is the second, fixed version of the patch, different to the one I
 originally posted on the mailing list. Had some slight problems with git,
 hopefully didn't mess up the patch (but it seems to me everything is in
 there that should be in it)...

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8007#comment:34>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: