Re: [reSIProcate] Compilation error in latest code
- From: Alan Hawrylyshen <alan@xxxxxxxxxx>
- Date: Sat, 20 Nov 2004 13:37:41 +0100
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