* Changes due to moving RegistrarDefs stuff into the BPrivate namespace.

* Rename the main thread after creating the BApplication. Then at least
  the roster will be ready for use.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10816 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-01-18 01:17:35 +00:00
parent d8247d2bd9
commit 769ba00e93

View File

@ -26,6 +26,8 @@
Glues the registrar services together and dispatches the roster messages.
*/
using namespace BPrivate;
//! Name of the event queue.
static const char *kEventQueueName = "timer_thread";
@ -278,9 +280,6 @@ main()
{
FUNCTION_START();
// rename the main thread
rename_thread(find_thread(NULL), kRosterThreadName);
// create and run the registrar application
status_t error;
Registrar *app = new Registrar(&error);
@ -290,6 +289,9 @@ main()
return 1;
}
// rename the main thread
rename_thread(find_thread(NULL), kRosterThreadName);
PRINT(("app->Run()...\n"));
app->Run();