< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] Compilation error in latest code



On Nov 19, 2004, at 19:37, david Butcher wrote:


Changes to Data are a cause for alarm. I made two changes recently and should
fess up.

1. Removed the memsets on the internal buffer. They were gratuitous.

Explain how they were gratuitous? Are you now relying on linux's zero-new-page property? (Unlike, but just want to confirm.)


2. Generalized the Take/Share enum to include Borrow. Borrow is used to
indicate that the Data is using a writable but not owned buffer. Borrow is used to indicate that the internal buffer is being used. Borrow also allows Datas to
be created that use stack memory rather than heap memory.


I 'take' it that you also implemented the behaviour described? Any issues or use notes that might affect or benefit other Data users?

Thanks

A


a l a n a t j a s o m i d o t c o m