Drop into debugger if the looper can't be locked.
This gets triggered randomly by net_server. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39934 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5377c49be4
commit
27d38ee976
@ -211,7 +211,8 @@ PathHandler::PathHandler(const char* path, uint32 flags, BMessenger target,
|
||||
|
||||
TRACE("PathHandler: %s\n", path);
|
||||
|
||||
looper->Lock();
|
||||
if (!looper->Lock())
|
||||
debugger("PathHandler: failed to lock the looper");
|
||||
looper->AddHandler(this);
|
||||
looper->Unlock();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user