Hello,

I was reading the codes about capabilities, and I found this, which is
suspected as a conflict in my understanding.

1)  In Cap_index class, we have an id, which is commented as global
capability id:

    class Cap_index {
        ...blah
        uint16_t _id;      /* global capability id */
        ...blah
    };

2) But in Native_capability class, there is something like this:

    class Native_capability {
        ...blah
        int   local_name() const { return _idx ? _idx->id() : 0;}
        ...blah
    };

here, the id of Cap_index (i.e., commented as global capability id) is
returned as local_name.
I think it is a conflict or do I miss something?
Please enlighten me about this.

Best,
Jaeyong
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Genode-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to