Re: [9fans] 9p fids and references

2009-07-31 Thread hugo rivera
OK, thanks. 2009/7/30, roger peppe : > 2009/7/30 hugo rivera : > > [...] there's no way two different files point to the > > > same data structure (but maybe two different fids do?) so reference > > counting is unnecessary, am I right? > > > no, because a file can be opened several times. > whe

Re: [9fans] 9p fids and references

2009-07-30 Thread roger peppe
2009/7/30 hugo rivera : > [...] there's no way two different files point to the > same data structure (but maybe two different fids do?) so reference > counting is unnecessary, am I right? no, because a file can be opened several times. when you open a file you get a new fid. so if you've got res