From owner-freebsd-threads@FreeBSD.ORG Thu Apr 19 04:56:16 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 9F17916A404 for ; Thu, 19 Apr 2007 04:56:16 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from talk.nabble.com (www.nabble.com [72.21.53.35]) by mx1.freebsd.org (Postfix) with ESMTP id 8336113C48A for ; Thu, 19 Apr 2007 04:56:16 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HeOgp-0003Y7-St for freebsd-threads@freebsd.org; Wed, 18 Apr 2007 21:56:15 -0700 Message-ID: <10071680.post@talk.nabble.com> Date: Wed, 18 Apr 2007 21:56:15 -0700 (PDT) From: Arunachalam To: freebsd-threads@freebsd.org In-Reply-To: <20070418220344.GA36558@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: arunachalamp@huawei.com References: <10058476.post@talk.nabble.com> <20070418220344.GA36558@kobe.laptop> 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: Thu, 19 Apr 2007 04:56:16 -0000 Giorgos Keramidas wrote: > > 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 > > Hello , > > Thanks for the reply. > > ya it is a minimal program. In the main, fork a process, in the child and > parent , just the debug statements. > > ya , it fails all the time if i link lc_r. > > But when i link with lthr, the problem is not there, means it is able to > spawn. > > Is that any problem with lc_r, can i use this lthr for my application. > > Thanks in advance, > Arunachalam. > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/Regarding-spawning-tf3600929.html#a10071680 Sent from the freebsd-threads mailing list archive at Nabble.com.