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
Problems spawning threads
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Edgar Friendly <thelema314@g...>
Subject: Re: Problems spawning threads
Edgar Friendly wrote:
> Hopefully I'll have some confirmation soon that the (probably
> useless) ccopts and other optimization options don't affect the error.

~/tmp/testzone $ ocamlopt -thread unix.cmxa threads.cmxa
-o threadring.ocaml_run

~/tmp/testzone $ ./threadring.ocaml_run 10
Fatal error: exception Sys_error("Thread.create: Cannot
allocate memory")

Still broken with simplest options for compilation.  :(