Commit Graph

17 Commits (229044d83a940d855fd9590d9aa76596f8c1a8b9)

Author SHA1 Message Date
Xavier Leroy 2330a3b30f PR#3571: in Bigarrays, call msync() before unmapping to commit changes
PR#5463: Bigarray.*.map_file fail if empty array is requested
Bigarray: added "release" functions that free memory and file mappings
just like GC finalization does eventually, but does it immediately.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12327 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-09 10:23:50 +00:00
Xavier Leroy 72ae789dc6 PR#5543: in Bigarray.map_file, try to avoid using lseek() when growing file
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12317 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-04 12:12:02 +00:00
Damien Doligez e7f5b858c2 More renaming to OCaml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12149 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-10 16:15:24 +00:00
Damien Doligez 3b507dd1aa renaming of Objective Caml to OCaml and cleanup of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez c91db736b1 merge changes from 3.12.0 to 3.12.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 09:17:07 +00:00
Mark Shinwell cf088abef1 release runtime lock for lseek (mantis 4801)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10223 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-01 07:36:49 +00:00
Xavier Leroy 1844666bc8 PR#4457: no need to limit each bigarray dimension to 2^31.
Name space depollution.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8754 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-04 15:01:48 +00:00
Xavier Leroy a5271a1845 Added map_subfile functions (memory mapping from a non-zero file offset). Win32 implementation is untested.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7437 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-06-10 14:15:43 +00:00
Damien Doligez f6190f3d0c PR#1956 renommage: bigarray est prefixe par ocaml_ba_
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-27 14:33:42 +00:00
Xavier Leroy 3de54dec26 Remplacement long/unsigned long par intnat/uintnat
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-22 14:21:50 +00:00
Xavier Leroy 7501784c80 MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Xavier Leroy ddd99c7e5d Chargement dynamique de primitives C
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-28 14:47:48 +00:00
Damien Doligez 3f6a493b87 MacOS: ajout macosunix; portage bigarray et systhreads; tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3042 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-05 18:30:22 +00:00
Xavier Leroy 078a40e1d6 Definir MAP_FAILED si pas defini (pour les vieux systemes genre SunOS et AIX 4.1)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2964 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-16 15:39:32 +00:00
Damien Doligez 0030ecb267 contournement d'un bug de Digital Unix
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2887 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-29 16:05:36 +00:00
Xavier Leroy 5265bc3530 Ajout sys/types.h
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2874 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-28 15:46:17 +00:00
Xavier Leroy 36e77a4f4f Ajout memory mapping. Diverses corrections
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2865 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-25 13:45:54 +00:00