Regarding spawning

Arunachalam arunachalamp at huawei.com
Thu Apr 19 04:56:16 UTC 2007




Giorgos Keramidas wrote:
> 
> On 2007-04-18 06:17, Arunachalam <arunachalamp at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe at 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.



More information about the freebsd-threads mailing list