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

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Tue, 08 Nov 2011 13:38:38 -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:  Servers/app_server  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by axeld):

 I am not really a fan of unconditional thread priority boost after
 acquiring a lock - we actually had such a system in place, once, but it
 didn't really work with our threading model. Maybe works better when we
 restrict it to mutexes, though, but I somehow doubt it; why should a low
 priority thread be able to preempt a high priority thread just because it
 acquired a mutex?

 Priority inversion means that low priority threads are able to starve high
 priority threads by sharing the same lock - due to other system activity,
 the low priority thread doesn't get through with its work, so the high
 priority thread somehow inherits the low priority, thus it becomes a
 victim of priority inversion.

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

Other related posts: