From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 1EE38BC69 for ; Tue, 18 Dec 2007 06:23:07 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAIvnZkfRVYT7i2dsb2JhbACQBAIBCAQEJAWaBw X-IronPort-AV: E=Sophos;i="4.24,178,1196636400"; d="scan'208";a="6953524" Received: from an-out-0708.google.com ([209.85.132.251]) by mail3-smtp-sop.national.inria.fr with ESMTP; 18 Dec 2007 06:23:06 +0100 Received: by an-out-0708.google.com with SMTP id b15so700699ana.102 for ; Mon, 17 Dec 2007 21:23:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=CtyC/ukPuQmgS2aEm0AGl2Ot5EKHIuOmJGVzVOIcUQY=; b=aWajxT0kz7Woohnrm9BmxXjlNs8SIlTf+AaI7yrsdLbxngVO2M2fuaxVRobK4ZiANePen5xIQAr1MW0tfpJ7KAY+9SjMAl3AVW2LK9fqrX0MS7XCZFF36Yu9rtm6g2TPBPB4rFj0kRS9R0Hkqy6CZmDsUq1YAbpb8cU6gCCwwg4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Ss+UDIMnKDSzWeCzAGEpD6N3dER8+SZw2QTLV6xkmyPOhKqGfiJrgiLPU67mDvN+IaCKG1ZN4J42+48Od2jNbtQzXMFIOI37ZDRKmgxyzr7dNTBPSzq3jgm2qNNF6veR8q+ZoCMJb+S1c8oUKnO4fKxZFGwaO5Kz2NbmhyyWudI= Received: by 10.100.247.14 with SMTP id u14mr16511742anh.85.1197955385627; Mon, 17 Dec 2007 21:23:05 -0800 (PST) Received: from ?192.168.0.7? ( [70.243.153.55]) by mx.google.com with ESMTPS id t20sm8830967rnf.2007.12.17.21.23.03 (version=SSLv3 cipher=RC4-MD5); Mon, 17 Dec 2007 21:23:03 -0800 (PST) Message-ID: <47675935.3060403@gmail.com> Date: Mon, 17 Dec 2007 23:23:01 -0600 From: Edgar Friendly User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: caml-list Subject: Re: Problems spawning threads References: <4767582A.6020202@gmail.com> In-Reply-To: <4767582A.6020202@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; ccopts:01 ocamlopt:01 -thread:01 cmxa:01 cmxa:01 ocaml:01 ocaml:01 compilation:01 edgar:98 edgar:98 threads:01 threads:01 wrote:01 unix:01 exception:01 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 threadring.ml -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. :( E.