From owner-freebsd-threads@FreeBSD.ORG Wed Apr 18 22:04:38 2007 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0482F16A407 for ; Wed, 18 Apr 2007 22:04:38 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 62EE913C45D for ; Wed, 18 Apr 2007 22:04:37 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l3IM45IA003746 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 19 Apr 2007 01:04:11 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l3IM3j7h036592; Thu, 19 Apr 2007 01:03:56 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l3IM3jfI036591; Thu, 19 Apr 2007 01:03:45 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 19 Apr 2007 01:03:45 +0300 From: Giorgos Keramidas To: Arunachalam Message-ID: <20070418220344.GA36558@kobe.laptop> References: <10058476.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10058476.post@talk.nabble.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.521, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.68, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-threads@freebsd.org Subject: Re: Regarding spawning X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 22:04:38 -0000 On 2007-04-18 06:17, Arunachalam wrote: > Hello, > I need to add , linking of lc_r , for my application. But when > i add this , i am unable to spawn a process in FreeBSD 5.4. > > I also linked against -lpthread also. > > Please say me if if my question is clear.... and let me know , > what i am doing wrong A minimal program which exhibits the failure, would be nice. Do you mean that when linking with -lc_r the fork() system call consistently fails all the time? Does it fail "some" times? - Giorgos