Version française
Home     About     Download     Resources     Contact us    
Browse thread
godi and threads???
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gerd Stolpmann <info@g...>
Subject: Re: [Caml-list] godi and threads???
Am Freitag, den 14.04.2006, 11:18 +0200 schrieb manfred:
> Hi there,
> I installed godi and tried to build ocaml-http when I got
> 
>   ocamlfind: ocamlopt does not support multi-threaded programs for 
>   your configuration
> 
> during the build process.
> 
> In ~/godi/lib/ocaml/std-lib/Makefile.config I have
> OCAML_THREADS=vm
> 
> In ~/godi/lib/ocaml/std-lib/Makefile.config   I have
> SYSTHREAD_SUPPORT=false
> 
> I'm running FreeBSD 6.1 Prerelease.
> 
> Changing any of those values didn't help.
> 
> Any idea?

Yes.

In the current GODI release, pthreads are turned off for FreeBSD. The
reason is poor support by FreeBSD, which only has a user-level pthread
implementation. Due to the O'Caml architecture, this even harmed
single-threaded applications.

In recent tests, things have become better, and it is likely that we
will again allow multi-threading at the user's option.

Gerd
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------