haiku/headers/os
Dario Casalinuovo 7771139cdf BMediaEventLooper: Rewrite ControlLoop()
* The first problem was the O(n^2) complexity of the algorithm, it's
  now linear and try to act in a circular way by dispatching
  events and reading the port in a balanced way. This exclude
  a certain degree of possible deadlocks.
* Add detection and escape when the system try to kill the
  thread. This solve some blocking issues on exit et similia
  that i had with libjackcompat.
* The algorithm choose soon which event to focus on.
* Lateness is calculated just before the event is dispatched
  as it is the more appropriate place, otherwise we would be
  calculating something imprecise/guessed.
* Remove timed_event_queue::queued_time. It's more precise to
  just use the RealTime() before to Dispatch the event.
* It should solve the BSoundPlayer lateness problems.
* With those improvements the media_kit is not going to lock
  completely under stress conditions, instead it try to work
  in a best effort shape.
* There's still room for improvements, for example i'm considering some
  strategies in lateness situations such as update scheduling latency,
  try to decrease waiting time and detect when we are too early on
  the other hand to recover when the load go down.
* Thanks to Julian Harnath for sharing his WIP patch which helped
  with some controls such as avoiding negative lateness.
* Comments are welcome!
2015-08-03 01:35:09 +02:00
..
add-ons Network: added notify settings updated method. 2015-03-27 13:25:27 +01:00
app BRoster: Added ability to pass env on launch. 2015-07-22 20:44:03 +02:00
arch ARM: remove annoying #warning 2014-10-26 23:40:17 +01:00
be_apps Applied slightly reworked and updated patch from ticket #1576 2011-10-29 15:38:20 +00:00
bluetooth Fix more GCC4 narrowing conversion warnings. 2013-05-03 19:42:04 +02:00
device Revert r42812. As pointed by Michael, one can use 2011-10-24 21:02:14 +00:00
drivers fdt: humble beginnings of Flattened Device Tree 2014-10-31 11:14:05 +01:00
game Style fixes to the Game Kit, focus on docs 2014-06-11 16:44:48 -04:00
interface BAlert: use layout API, allow any number of buttons. 2015-07-30 19:50:03 +02:00
kernel kernel: Add more architecture code post-scheduler 2014-01-19 21:53:56 -06:00
locale Update icu x86_64 package with namespace renaming enabled. 2015-05-10 21:52:36 +02:00
mail Major coding style cleanup. 2015-01-06 15:23:33 +01:00
media BMediaEventLooper: Rewrite ControlLoop() 2015-08-03 01:35:09 +02:00
midi BSynth/BSoftSynth: implemented GetAudio(). 2014-09-21 19:46:04 +02:00
midi2
net HttpForm needs another friend class for GCC6. 2015-07-30 22:25:19 +02:00
package Moved BJob, and JobQueue into the support kit. 2015-05-21 21:37:01 +02:00
storage find_paths_etc(): added user/system only flags. 2015-03-26 21:47:22 +00:00
support BReference: missing const cast when building a BReference<const> 2015-06-14 15:46:53 +02:00
translation Actually sort the translator menu used in ShowImage. 2012-08-07 00:41:41 -04:00
AppKit.h
Be.h
BeBuild.h Added some support for GCC 5+. 2015-07-20 21:45:02 +02:00
DeviceKit.h
GameKit.h
InterfaceKit.h
KernelKit.h
LocaleKit.h Remove references to NumberFormatImpl. 2014-10-06 08:35:50 +02:00
MailKit.h
MediaKit.h
MidiKit.h
NetKit.h
NetworkKit.h
StorageKit.h
SupportKit.h
TranslationKit.h