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
[Caml-list] camlimages and kernel memory
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-06-05 (23:48)
From: Fernando Alegre <fernando@c...>
Subject: [Caml-list] camlimages and kernel memory


We would like to use some kernel memory buffers from the camlimages libraries
without copying the data to userland. The data comes from digital cameras
directly (using DMA) to a kernel ringbuffer. Caml does not own that memory,
but we want Caml to use it as just another Image.t chunk (with a wrapper,
of course.)

Our question is: is there a safe way to do this? We don't want the garbage
collector to mess with the kernel memory, but we don't want to have
to code separately for "userland" and "kernel" images...

Any suggestion will be appreciated.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: