* moved input handling code from Desktop class to RootLayer

* PollerThread was replaced by WorkingThread(RootLayerX)  thread which is created every time a RootLayer object is created and destroyed when deleted.
* ViewDriver now initializes the "inputServer" port because it is one of the first objects instantiated by the server.
* changed the way a RootLayer(ex Poller) quits. The thread is not killed anymore, it is been asked to quit nicely. This prevents (future) deadlocks.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10780 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca
2005-01-16 21:35:02 +00:00
parent cc4218ac28
commit f4687e882c
11 changed files with 742 additions and 723 deletions
+1 -1
View File
@@ -2215,7 +2215,7 @@ int32 ServerWindow::MonitorWin(void *data)
while(!quitting)
{
printf("info: ServerWindow::MonitorWin listening on port %ld.\n", win->fMessagePort);
// printf("info: ServerWindow::MonitorWin listening on port %ld.\n", win->fMessagePort);
code = AS_CLIENT_DEAD;
err = ses->GetNextMessage(&code);
if (err < B_OK)