Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2006-02-08 12:52:59


"Jeff Flinn" wrote:

>> void* p = segment_allocate(1024, shmem::manual_lifetime);
>
> Did you mean for the above to be a free function?
No its typo. "." was intended. I am very bad in typing.

>> And there could be debug mode flag that checks
>> the data is deallocated in the same modeit was allocated.
>
> By 'mode' do you mean whether the shared_ptr, or raw pointer was returned?
>
I mean the allocator would set a flag somewhere in shared
memory and deallocator would check it and assert() if needed.

I plan to write more about in in review if I find time.

------
In case I won't find time for review take my default position
as "accept into Boost".
I have been following shmem development for quite long
and the issues I had with it got resolved to better.

/Pavel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk