f7c226f467
then be used for receiving node monitoring messages. * Reenabled using be_app as default BLooper if the API user does not provide one. I think the problem that Stefano needed to work aroung in r23995 was actually caused by the incorrect locking (an never unlocking) of the looper before calling PathHandler::Quit(). ->If I understand correctly, this code as supposed to work around the possible situation that the looper holding those PathHandlers may have already quit, leaving stale PathHandler pointers behind. But that case was not prevented by the old code anyways, since one would have had to access freed memory to even get the stale BLooper pointer. The real fix would be to store the BLooper pointer with each PathHandler so that the possible gone-ness of those loopers could be checked independent of accessing the PathHandler pointer. (The whole problem is that PathHandler adds itself to the BLooper and if the looper quits, it will free all its attached handlers.) * Introduced a global fallback BLooper for the case that no BApplication is running, which resolves a TODO. All this is yet untested, but should have a good chance of working. (Famous last words...) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26843 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
||
---|---|---|
.. | ||
build | ||
compatibility/bsd | ||
cpp | ||
glibc | ||
gnu | ||
legacy/network | ||
libs | ||
os | ||
posix | ||
private | ||
tools |