Re: New win32 signals patch (3)
От | Claudio Natoli |
---|---|
Тема | Re: New win32 signals patch (3) |
Дата | |
Msg-id | A02DEC4D1073D611BAE8525405FCCE2B55F2D0@harris.memetrics.local обсуждение исходный текст |
Список | pgsql-hackers-win32 |
[pushing our IM discussion to the list] Magnus, the SIGCHLD implementation snippet I sent over to you works perfectly (possible thread unsafe issues in logging aside), but it looks like I messed up the (obviously untested) win32_waitpid code after all. You'll need to go to win32_RemoveChild, and change the lines: win32_childPIDArray[win32_numChildren] = win32_childPIDArray[i]; win32_childHNDArray[win32_numChildren] = win32_childHNDArray[i]; to: win32_childPIDArray[i] = win32_childPIDArray[win32_numChildren]; win32_childHNDArray[i] = win32_childHNDArray[win32_numChildren]; (Pretty obvious now that we can actually run this code. Yay! :-) Will I leave you to format up a new patch and include this change + the SIGCHLD code? Cheers, Claudio --- Certain disclaimers and policies apply to all email sent from Memetrics. For the full text of these disclaimers and policies see <a href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em ailpolicy.html</a>
В списке pgsql-hackers-win32 по дате отправления: