Factored a MessageLooper class out of ServerWindow and ServerApp. Could still
be improved a bit (Quit() and _MessageLooper() are empty right now). Removed ServerApp::PingTarget(). Hopefully cleared some confusion about ServerApp::fClientLooperPort and fClientToken (previously fHandlerToken), even if it's currently unused. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13807 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -236,6 +236,9 @@ int32
|
||||
AppServer::PicassoThread(void *data)
|
||||
{
|
||||
while (!sAppServer->fQuitting) {
|
||||
// TODO: we don't need to do this anymore - dead apps are
|
||||
// detected automatically
|
||||
#if 0
|
||||
sAppServer->fAppListLock.Lock();
|
||||
|
||||
for (int32 i = 0;;) {
|
||||
@@ -247,6 +250,7 @@ AppServer::PicassoThread(void *data)
|
||||
}
|
||||
|
||||
sAppServer->fAppListLock.Unlock();
|
||||
#endif
|
||||
// we do this every second so as not to suck *too* many CPU cycles
|
||||
snooze(1000000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user