From: Guillaume L. <gla...@te...> - 2003-08-08 23:04:56
|
On Sunday 27 July 2003 18:28, Guillaume Laurent wrote: > BTW, before we forget about this and get reminded in unpleasant ways : > MappedEvents need to be made of constant size, so the dataBlock needs to be > moved to something else (a pointer to a file where the actual data is > stored, for instance). Forgot to mention : I had to comment out the datablock std::string of MappedEvent, because they wouldn't cope well with placement new on a read-only memory area. At some point I started getting a crash on getDataBlock(), which was triggering the string to write in its internal data (some ownership counter or something, I don't know). I really didn't feel like investigating this too much, so since this datablock has to go anyway I just commented it out for the moment. -- Guillaume. http://www.telegraph-road.org |