Sushant Nirwan wrote: > Hi all, > I'm having a doubt in the storage structure of created contracts > in a system. While working, I come to know that the details of the > contract created are store at different places as below > > /system/contract/process/contact_id > /proc/process_id/contracts/contract_id > (process_id is the id of the existing process and contract_id is the > id of the existing contract in a system) > > Therfore can any one help me, what's the use storing contract details > at two places.
The reason is so you can efficiently find the contracts that belong to a particular process. Otherwise you would need to open every contract on the system and check its owner. Keep in mind that the contract information isn't "stored" in these locations; they are simply two views of the same data. Dave _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
