Am 28/08/2015 um 14:18 schrieb Ingo Weinhold:
Yes, but this makes creating the port by the launch_daemonIt makes the communication channel available a lot earlier. That
completely superfluous, doesn't it?
seemed to be one of your concerns.
You are not supposed to find launch_daemon created ports by name.You got it the wrong way around: Since some existing uses of
They may have any name; the launch_daemon chooses them.
get_port_info(), as Michael wrote, it may not be possible to have
those ports be created by the launch daemon. Obviously we can adjust
the code in the repository and on HaikuPorts, but introducing new
rules for existing APIs may break preexisting applications.
TBH, I don't know which authentication manager you're talking about.
Finally, you know how BLooper works: If a message has been read from
the port, that doesn't mean it has been handled. So there remains a
race condition anyway. We would need a new low-level messaging
mechanism to avoid that.
It would also allow application restarts due to changedThat sounds useful. However, it could as well be triggered actively
configuration without losing the connection to it.
by the application itself (shut down BApplication, hand over port to
the launch daemon, exit/exec).
Though, what do we actually get? The crash example doesn't sound
that convincing.