haiku/headers/private/app
Oliver Tappe e0b7c61c46 Closing ticket #4465:
Net_server starts services by invoking fork() followed by exec(). If the latter
fails (for instance because the service isn't installed), the forked child is
invoking exit(). This in turn unloads libbe, triggering static cleanup code in 
BMessage, which deletes a couple of message ports that were inherited from the
parent during the fork. After that, net_server was desparately missing those
ports and no longer worked reliably.
* in InitTerminateLibBe, we now register an atfork-(child-)handler, which
  takes care to re-initialize the static reply ports used by BMessage code
* added BMessage::Private::StaticReInitForkedChild wrapper and 
  BMessage::_StaticReInitForkedChild() implementation which overwrites the
  inherited port IDs with a set of own ports


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 23:10:51 +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 Added global lock that can be used for lazy initializations. 2007-10-10 21:30:51 +00:00
AppServerLink.h * Added BString version of LinkReceiver::ReadString(). 2005-11-07 16:14:05 +00:00
AreaLink.h * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +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 Made DirectMessageTarget's destructor private to avoid potential future 2008-03-06 00:36:31 +00:00
LinkReceiver.h Patch by Artur Wyszynski with some changes by myself: 2008-10-15 19:47:00 +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 * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
MessageAdapter.h * Unified handling of different BMessage formats into MessageAdapter.cpp 2007-06-27 20:22:53 +00:00
MessagePrivate.h Closing ticket #4465: 2009-09-10 23:10:51 +00:00
MessageUtils.h * Respect endiannes for item lengths inside swapped BMessages 2007-08-12 10:32:21 +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
RegistrarDefs.h * Made the libbe_test environment basically working under Haiku - to actually 2009-08-19 14:17:13 +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 Patch by Artur Wyszynski with some changes by myself: 2008-10-15 19:47:00 +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 * BWindowScreens had no sychronization mechanism whatsoever - since the 2009-08-27 12:10:59 +00:00
ServerProtocolStructs.h * Moved the implementation of SetViewCursor from the thread of the 2009-06-20 12:11:49 +00:00
ServerReadOnlyMemory.h App Server now saves/restores ui_color settings. 2008-03-04 01:19:04 +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 * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00