Version française
Home     About     Download     Resources     Contact us    
Browse thread
[ANN] coThreads 0.10
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Erik de Castro Lopo <mle+ocaml@m...>
Subject: Re: [Caml-list] [ANN] coThreads 0.10
Zheng Li wrote:

> 
> Hi,
> 
> I'd like to announce the first public release of coThreads, a 
> concurrent programming library for OCaml.

I've compiled this with Ocaml 3.09.1 on x86 Linux and x86-64 Linux.

Looking at the example program ray_nocol.ml, it works correctly
on x86 Linux but fails on x86-64 [0]:

    # > ./ray_nocol.proc.opt 9 1024 1 ray_nocol.proc.opt.pgm
    Fatal error: exception Unix.Unix_error(12, "lseek", "")

I've also tried the non-opt version and the nath version. All fail
in the same way.

The errno value of 12 means "Out of memory". I did a little debugging
but couldn't find anything obvious.

Erik

[0] This is the standard 3.09.1 compiler shipped with Ubuntu Feisty.
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
The Earth is around 70% water. Fish rule the seas.
Humans are over 90% water. It's only a matter of time.