haiku/headers/private/app
Axel Dörfler 9dbe170a69 Implemented direct message passing for local targets; this fixes a deadlock
with PostMessage() in case the message queue is full.
Some notes:
* for synchronous replies, we don't use this mechanism yet, but it could be
  extended to do that as well.
* the code looks so complicated because we need a way to access the looper's
  queue without locking it (to prevent deadlocks); like Dano's solution, I've
  abused BTokenSpace to store a BDirectMessageTarget with a BHandler.
* we also need to decouple the lifetime of a looper's queue from its target,
  as we cannot lock the looper, and therefore, can't guarantee it stays valid
  as long as we're accessing it outside of BLooper.
* init_clipboard() now needs to be done after the global constructors have
  been called - since sending messages now needs gDefaultTokens to be initialized.
  Since this is done per image, it shouldn't cause any troubles, though.
* some minor cleanup, removed unused _msg_cache_cleanup_() and friends.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-26 13:59:56 +00:00
..
ApplicationPrivate.h * There is now a server_read_only_memory structure that is placed in a (surprise!) 2006-04-25 20:12:06 +00:00
AppMisc.h Introduced generalized versions of get_app_path() and get_app_ref() returning the path/ref for an arbitrary team. 2005-07-15 12:15:21 +00:00
AppServerLink.h * Added BString version of LinkReceiver::ReadString(). 2005-11-07 16:14:05 +00:00
AreaLink.h add newline to end of file 2003-04-14 01:56:41 +00:00
ClipboardPrivate.h Use new init_clipboard() function which initializes the global be_clipboard at libbe init time. 2005-01-13 00:50:26 +00:00
DesktopLink.h * Implemented AS_DIRECT_WINDOW_SET_FULLSCREEN so that it sets kWindowScreenFeel 2006-06-09 21:46:40 +00:00
DirectMessageTarget.h Implemented direct message passing for local targets; this fixes a deadlock 2007-01-26 13:59:56 +00:00
LinkReceiver.h * BView::FillRegion() sends the BRegion data instead of decomposing 2006-04-01 16:56:10 +00:00
LinkSender.h Changed the meaning of the second parameter in AttachString(): it's now the maximum 2005-11-09 18:28:13 +00:00
LooperList.h Got rid of the looper ID stuff - it seems nowhere to be used. 2007-01-26 12:11:33 +00:00
MessagePrivate.h Implemented direct message passing for local targets; this fixes a deadlock 2007-01-26 13:59:56 +00:00
MessageUtils.h Applied Michael's patch for MessageUtils.h - this is supposed to fix some 2006-03-13 11:52:28 +00:00
MessengerPrivate.h * reverted Adi's premature changes to BWindow and restored _DetermineTarget() and 2005-11-20 16:24:23 +00:00
PortLink.h Removed unused files like PortMessage.cpp/h and Session.cpp/h. 2005-11-02 12:55:20 +00:00
PortQueue.h Separated PortQueue and PortMessage into separate files. 2003-06-22 17:17:40 +00:00
RegistrarDefs.h Turns out the whole "active app" mechanism in the registrar wasn't used at all; the 2007-01-18 17:45:08 +00:00
RegistrarThread.h Removed an old and inaccurate comment I just noticed. 2002-09-29 07:24:56 +00:00
RegistrarThreadManager.h Made kThreadLimit constant public 2002-10-04 04:22:08 +00:00
RosterPrivate.h Turns out the whole "active app" mechanism in the registrar wasn't used at all; the 2007-01-18 17:45:08 +00:00
Server.h BServer now remembers whether the GUI context has already been initialized, so that InitGUIContext() can be invoked twice without harm. 2005-07-03 16:55:27 +00:00
ServerLink.h * Added LinkReceiver methods that return the length of the string. 2006-02-27 13:09:37 +00:00
ServerMemoryAllocator.h * There is now a server_read_only_memory structure that is placed in a (surprise!) 2006-04-25 20:12:06 +00:00
ServerProtocol.h BWindow::IsFront() was implemented incorrectly - we actually need to query the 2007-01-06 17:08:19 +00:00
ServerReadOnlyMemory.h * Removed ColorSet, it's no longer needed or used. 2006-04-26 09:03:28 +00:00
SimpleMallocIO.h More optimization for Message2. It now uses a more lightweight BSimpleMallocIO instead of the full blown BMallocIO. This wastes less memory and reduces unnecessary overhead when unflattening. 2005-07-31 11:48:38 +00:00
TokenSpace.h Implemented direct message passing for local targets; this fixes a deadlock 2007-01-26 13:59:56 +00:00