View topic - sytem() hangs if ConnectAttach() takes 0 as 4th&5th argu

sytem() hangs if ConnectAttach() takes 0 as 4th&5th argu

anything that doesn't fit to other groups.

sytem() hangs if ConnectAttach() takes 0 as 4th&5th argu

Postby karthiktceit » Fri Feb 26, 2010 5:52 am

Hi,
When after calling ConnectAttach(0,0,channelid,0,0), if any system() is used, it is hanging. Even vfork() is hanging.By analysis what I found is SIGCHLD is not coming from the child spawned by system().

But if I give _NTO_SIDE_CHANNEL as the fourth argument or _NTO_COF_CLOEXEC as the 5th argument then SIGCHLD is coming and no hanging and every thing is fine.

But what I could not understand is why SIGCHLD is not given by the spawned child. Can anybody tell what could be the reasons?
karthiktceit
New Member
 
Posts: 3
Joined: Tue Jan 05, 2010 6:33 am

Return to General Programming

Who is online

Users browsing this forum: No registered users and 4 guests

cron