Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
appending data to a mmap-ed file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-12-16 (11:31)
From: Joel Reymont <joelr1@g...>
Subject: appending data to a mmap-ed file
I'm constantly appending to a file of stock quotes (ints, longs, doubles, etc.). I have this file mapped into memory with mmap. 

What's the most efficient way to make newly appended data available as part of the memory mapping?

Obligatory OCaml content: I'm trying to prototype a trading system in OCaml.
	Thanks, Joel