English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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 caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners