hamon-in / cpslib

Cross platform library to gather process and system information.
MIT License
86 stars 22 forks source link

Refactor Process struct #4

Open trizinix opened 10 years ago

trizinix commented 10 years ago

We can't prefetch all the properties for the user. We shouldn't be inconsistent if a property is prefetched or up-to-date. Hence we have to return always an up-to-date value. The Process should be an opaque data type and we should provide the following methods to fetch the relevant property.

nibrahim commented 10 years ago

Agreed. I made a mention of this in README.