haiku/headers/private
John Scipione d34a680c04 Screen Saver: fix race condition
Start the screensaver in the window thread instead of the runner
thread so that there is no lock contention for the window lock in
the runner thread when the saver starts.

The view that gets drawn into is assumed to have been prepared before
being passed to the runner thread, and this assumption has been made
true for the screensaver preview and screen_blanker apps.

Eliminate fHasStarted and the corresponding HasStarted() method in
ScreenSaverRunner as they are no longer needed.

Drawing still happens in the runner thread, and still needs to lock
the window thread potentially causing contention, yet, there
is a timeout here so the contention won't freeze the screensaver window,
only delay drawing the screensaver.

Drawing could be moved to the window thread via message passing to avoid
lock contention with the window but this would defeat a big part of the
purpose of having a separate rendering thread.

This fixes #10125 and #4260
2013-11-14 23:30:26 -05:00
..
app Add userdel 2013-09-18 16:33:17 +02:00
audio
binary_compatibility Add macro B_IF_GCC_2 2012-02-19 15:11:57 +01:00
bluetooth Adding debug file to bluetooth. 2013-01-12 20:01:28 +01:00
debug Move comment to correct function. 2013-05-01 19:52:00 -04:00
device Tiny comment cleanup. 2011-06-21 12:35:50 +00:00
drivers trim: Target SCSI UNMAP command instead of WRITE SAME. 2013-11-07 19:03:47 +01:00
file_systems QueryParser: Equation::Match(): Fix generic attribute case 2013-06-01 03:58:11 +02:00
firewire Fixes some occurrences of 'variable set but not used', disables Werror for problematic items. 2012-02-23 20:32:11 +01:00
fs_shell trim: Target SCSI UNMAP command instead of WRITE SAME. 2013-11-07 19:03:47 +01:00
graphics RadeonHD: Fix incorrect name -> chipset mapping 2013-07-16 11:20:24 -05:00
index_server Add a CLucene full-text add-on. 2010-10-28 15:22:52 +00:00
input Implemented the patch on #7963 in a different way. 2011-10-31 18:09:24 +00:00
interface BColumnListView: Enable invalidating rows, fix SetField() 2013-09-17 14:42:03 +02:00
kernel VM: vm_memset_physical(): Correct length parameter type 2013-11-11 22:27:52 +01:00
libroot libroot: explicitly check ABI version 2013-05-22 19:31:05 +02:00
locale Fix relying on order of static object destruction in Locale Kit. 2012-11-26 01:19:27 +01:00
mail * Put ServerConnection into the BPrivate namespace as it should have been. 2011-11-02 22:56:50 +00:00
media Move SoundConsumer to libmedia in the BPrivate namespace 2012-08-07 23:38:37 +02:00
midi
mount * Removed now obsolete notification (this was not even used in Tracker 2009-10-07 19:31:57 +00:00
net Skip timeout computation in is_syscall_restarted case. 2013-05-04 11:27:04 +02:00
notification * revert '43157 as the files are actually needed. I still don't understand how I managed to build everything without them ... 2011-11-03 12:49:18 +00:00
package PackageWriterImpl::_AttributeRemoved(): Update string cache 2013-10-25 22:54:44 +02:00
print * Renamed files, classes and constants from 2010-11-08 18:43:55 +00:00
runtime_loader libroot: make all areas executable for old binaries 2013-05-15 00:06:39 +02:00
screen_saver Screen Saver: fix race condition 2013-11-14 23:30:26 -05:00
shared RangeArray::AddRange(): Fix joining with single subsequent range 2013-10-25 22:54:43 +02:00
storage Consolidate adding add-on directories 2013-10-17 01:28:31 -04:00
support BString::Private: Add IsShareable() 2013-06-27 21:57:40 +02:00
syslog_daemon
system Add new API find_path[s](), find_path_for_path() 2013-11-05 21:40:43 +01:00
textencoding
tracker Fix crash when dragging files onto nav menus. 2012-09-03 16:28:47 -04:00
usb_vision some copyright headers clean up 2010-04-12 21:02:09 +00:00
userlandfs Should have been part of r37678. io_request_is_vip() support. 2010-07-22 11:09:32 +00:00
virtio virtio: add queue_is_full(), queue_is_empty(), queue_size() hooks. 2013-09-18 17:43:39 +02:00
vmdk Moved vmdkimage.h to a shareable place, cleaned it up a bit, and renamed it to 2009-10-01 03:08:46 +00:00