wendellchao / opkg

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

Installation hangs sometimes #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I see sometimes hanging 'opkg-cl' were child process is blocked by a
write(2) into a pipe and parent process is stuck in a wait(2) for this
child process.

Attached patch should fix this.

What version of the product are you using? On what operating system?

rev333

Original issue reported on code.google.com by ens...@googlemail.com on 18 Nov 2009 at 9:06

Attachments:

GoogleCodeExporter commented 9 years ago
I've applied your patch as r340. Thanks for the patch and the detailed 
analysis! Understanding the problem is much nicer than 
simply sending the child process a SIGTERM (see r310).

Original comment by graham.g...@gmail.com on 19 Nov 2009 at 10:44