Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2007 21:56:15 -0700 (PDT)
From:      Arunachalam <arunachalamp@huawei.com>
To:        freebsd-threads@freebsd.org
Subject:   Re: Regarding spawning
Message-ID:  <10071680.post@talk.nabble.com>
In-Reply-To: <20070418220344.GA36558@kobe.laptop>
References:  <10058476.post@talk.nabble.com> <20070418220344.GA36558@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help



Giorgos Keramidas wrote:
> 
> On 2007-04-18 06:17, Arunachalam <arunachalamp@huawei.com> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10071680.post>