Hello
When spawning more threads the rm-session from the env needs to be
upgraded in various places. This can occur when spawning new threads and
even in thread.start().
Thus one needs a way to make the rm-session in env upgradeable from the
outside.
A simple way to fix would be to define a
class Upgradeable_rm_session : public Rm_session {
void upgrade(const char *);
};
And make some private inheritance into protected inheritance
i.e. Rpc_client into
template <typename RPC_INTERFACE>
struct Rpc_client : *protected* Capability<RPC_INTERFACE>, RPC_INTERFACE
...
Is there a better and more non-invasive way to do this?
If not - would a patch implementing this be accepted?
An alternative would be to expose the capability in env in addition to
the session, but I think that is even more ugly.
- Taru Karttunen
------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Genode-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main